Re: Version 2.1.70 ms-dos fs strange.

Albert D. Cahalan (acahalan@cs.uml.edu)
Sun, 7 Dec 1997 01:15:20 -0500 (EST)


Rogier Wolff writes:

> Very minor nitpick: Some shells pass the "pattern" on litterally
> when it doesn't match anything. This allows you to do
>
> find . -name *.bak
>
> without the "\" that I'm used to. This gives good results with no
> "bak" files in the current dir, an error message with 2 or more "bak
> files" and horribly bad results if there happens to be just one.
>
> Some shell writers like this, others loathe it.
> Religious wars and such.

Such broken behavior is standardized.
http://www.rdg.opengroup.org/onlinepubs/7908799/xcu/sh.html