|
|
1.1 root 1: #!/bin/sh
2: search -filter objectclass=applicationEntity -nosize -notime -nopart \
3: -type presentationaddress -show -nokey -subtree -noseq \
4: | sed 's/cn=//g
5: s/@/ /g' | awk '
6: {
7: if ( addr == 0 ) {
8: addr = 1
9:
10: tmp = $2
11: for (i=3; i<=NF ; i++)
12: tmp = tmp " " $i
13:
14: printf "%-14s %-20s", $1, tmp
15: } else {
16: addr = 0
17: print
18: }
19:
20:
21: }'
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.