awk and filenames with spaces.....

Chris Malton chrism at
Mon May 21 09:19:39 UTC 2007


I'm trying to use awk in combination with unzip -l to list all the 
filenames in a zip archive.  The problem comes when there's a apce in 
the filename, as unzip uses spaces as separators.  How can I get awk to 
print from a particular index onwards?  Something like printing all 
fields higher than index 4, for example.

Any ideas how?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2146 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the ubuntu-users mailing list