[sclug] sclug Digest, Vol 67, Issue 10
David Given
dg at cowlark.com
Wed Apr 22 21:56:50 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Keith Edmunds wrote:
[...]
> This won't do what the OP wants as it expands the command line arguments
> in quotes. He has a directory of files that need quotes.
Whoops! You're right.
In which case, just using a * will do the right thing; sh will treat
each expansion as a distinct object:
$ touch 'foo bar' foobar
$ ls -1 f*
foobar
foo bar
- --
???? ?????????????? ????? http://www.cowlark.com ?????
?
? "People who think they know everything really annoy those of us who
? know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ75Khf9E0noFvlzgRAgbuAKDea8uQ2e49RKwCj8Mwrzt2ZcSK2ACeM+9L
zWK86EK1kbS8mQEpItl8J9U=
=Jgyo
-----END PGP SIGNATURE-----
More information about the Sclug
mailing list