-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Nov 2001, Emmanuel Seyman wrote:
>I'm trying to find a way to get the names of the files in my Mail folder
>but would like to exclude the sent folder.
>I'm trying to find the parameters to echo that will send me the list
>but I'm having a hard time and I was wondering if somebody could help me.
>
>I've tried `echo [^sent]*` which send back every file but those starting
>with s, e, n and t. `echo [^s]*` sends back every file but those
>starting with s but that's not enough. Any globbing experts out there?

You could always take advantage of grep:

  `ls ~/mail | grep -v '^sent'`

Tony
- -- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05
Linux. The choice of a GNU Generation. <http://www.linux.org/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <[EMAIL PROTECTED]> 0x6C94329D

iD8DBQE78odGpCpg3WyUI50RAgobAKCtShR93uek9uOod0dcMneJYEA+FQCgr8nj
S2gibwUpb89IARhNNaRAXmM=
=aBI6
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to