-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Alfred M. Szmidt on 2/1/2007 6:21 AM: > You won't be able to specify the suffix to remove if it is going to > behave like a filter, unless you add a option for that. > > $ echo foo.h | basename --suffix=.h > foo
Furthermore, with a --suffix option, we could also allow multiple command line arguments, another usage case that might prove useful: $ basename --suffix=.h foo.h bar.h foo bar $ All great ideas, but who is willing to code them? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFFweoS84KuGfSFAYARAk1wAJjr3bB+K4dlwKY5tgsSKqK7WzxMAKDBUc5b pwbII66OJ3MKPfUC8goZ/w== =mo4S -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils