NAME

ldifsort - sort LDIF on distinguished name

SYNOPSIS

ldifsort [—reverse-sort] [FILE …]

Standard input is read if no FILE is given.

Results are written to standard output.

DESCRIPTION

This program sorts standard input, or one or more files, on DN. Comments are stripped from the output.

OPTIONS

—reverse-sort

Output the sorted results in reverse order.

BUGS

No support is provided for base-64 encoded DNs (but base-64 encoded attribute values should be handled correctly).

SEE ALSO

ldifdiff(1), RFC 2849