diff options
| author | Mantas Mikulėnas <grawity@gmail.com> | 2024-01-04 10:41:20 +0200 |
|---|---|---|
| committer | Mantas Mikulėnas <grawity@gmail.com> | 2024-01-04 10:41:20 +0200 |
| commit | 02e972741f872a1c7baa807d46f4141b6e5bd7b8 (patch) | |
| tree | 601dc1a995a9cb46287f6b1aa1033401e2d5430f | |
| parent | ad18da0591ceef9cd58906944dcd97b3fcd17e10 (diff) | |
add ldifls helper tool
| -rwxr-xr-x | ldifls | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,10 +7,14 @@ use Net::LDAP::Util qw(escape_dn_value ldap_explode_dn); sub usage { print "$_\n" for - "Usage: ldapsearch -LLL | ldifls [-s SEP] [-S SEP]", + "Usage: ldapsearch -LLL ... | ldifls [-s SEP] [-S SEP]", "", # " -s, --rdn-separator SEP Separator between DN elements (RDNs)", " -S, --attr-separator SEP Separator between RDN attributes (default '+')", + "", + "To use with treeify:", + "", + " cat foo.ldif | ldifls -s \$'\\t' -S \", \" | treeify -s \$'\\t' -R", ; } |
