-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to mirz on 5/8/2008 6:02 AM: | sh-3.2$ rm fil*.txt | rm: cannot remove `fil*.txt': No such file or directory | | When I used * with ls it works correct | sh-3.2$ ls fil* | file.txt
Why not 'rm fil*' - if ls can use it, then rm can too, because * is expanded by the shell, and not by ls or rm. In the meantime, you might want to try 'ls -Q fil*' - perhaps the reason that 'fil*.txt' fails but 'fil*' works is that the suffix is not truly '.txt' but something cruel like '.txt '. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgi7roACgkQ84KuGfSFAYBz6gCfbmoi8gfmwjLkQvffoMIWKn41 HuUAnAmj95CIOXK95vxDI2+V6qnd+4XJ =sHPJ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/