[TriLUG] Limit to command line arguments?
Ian Kilgore
ian at trilug.org
Sat Oct 22 14:26:01 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Warren Myers wrote:
| Can you do something along the lines of <progname> *.CAD?
|
| WMM
|
Yup, but <progname> has to interpret the glob character, not the shell.
~ If you pass '*.CAD' to a program in bash, bash expands the '*.CAD' to
'1.CAD 2.CAD 3.CAD ... N.CAD'. If the resulting string is bigger than
the number of arguments a program can take, you're still toast.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDWoQ5wsRpgTiXSOERAphhAKDBfCMO0lurqKIv9W+Cn590Q8ArKwCdETkl
sLiqntAoipsYaUVyd4pBQBc=
=g27f
-----END PGP SIGNATURE-----
More information about the TriLUG
mailing list