---
name: "dist_cmp"
section: "1"
platform: "linux"
package: "genders"
version: "1.0-2-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/dist_cmp"
---

# dist\_cmp(1)

compress rdist output

## NAME

dist\_cmp - compress rdist output

## SYNOPSIS

**dist\_all \| dist\_cmp**\

## DESCRIPTION

**Dist\_cmp** is to  **dist\_all** what  **dshbak** is to  **dsh.** **Dist\_cmp** compresses  **rdist** output and makes it more readable by:

1\. Displaying all the output for a particular node on successive lines instead  of in the order received.

2\. Displaying only one copy of a line of output that is identical for multiple  nodes, along with a list of nodes that produced this output.

3\. Compressing long lists of node names that have numeric suffixes into ranges, e.g.  *blue001,blue002,blue003* becomes *blue001-003 .*

4\. Separating multiple rdist sessions for a given node or list of nodes. This is necessary as **dist\_all** updates mirror hosts twice:  once for the mirror, and once from the mirror to the final destination.

## SEE ALSO

[rdist(1)](/rdist/1.md), [dist\_all(1)](/dist_all/1.md)
