On Wed, May 09, 2001 at 09:51:09AM +1200, Juha Saarinen wrote:
:: ftp -o - ftp://ftp.apnic.net/pub/apnic/dbase/data/apnic.an.gz | \ :: gzip -cd | awk '/^\*an: / { an = $2; } /^\*aa: / { aa = $2; } \ :: /NZ/ { print an, aa; }' | \ :: sort | uniq
ftp -o - ftp://ftp.apnic.net/pub/apnic/dbase/data/apnic.a
gzip -cd | awk '/^\*an: / { an = $2; } /^\*aa: / { aa = $2; } \ /NZ/ { print an, aa; }' | \ sort | uniq
ftp: o: unknown option Usage: ftp [-v] [-d] [-i] [-n] [-g] [-k realm] [-f] [-x] [-u] [-t] [host]
gzip: stdin: unexpected end of file
Typical... I don't have the -o option in FreeBSD either. What's it supposed to do?
output to the named file (or stdout, with "-"). --------- To unsubscribe from nznog, send email to majordomo(a)list.waikato.ac.nz where the body of your message reads: unsubscribe nznog