[KLUG Members] Re: awk question
Adam Tauno Williams
awilliam at whitemice.org
Sun Feb 27 10:55:18 EST 2005
> Sorry I did not pick this up till this morning...
> It could also be solved as follows:
> gzip -l somezipfile.gz | awk '{if (NR == 2) print $2)'
Ah! Excellent, I for one had totally forgotten about "NR".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20050227/062288c1/attachment.bin
More information about the Members
mailing list