retitle 267450 request to clarify the classification of "binary" files severity 267450 minor thanks
On Mon, Aug 15, 2005 at 09:51:38PM +0200, Norman H. Azadian wrote: > Hi Justin, > > Thanks for your email. Here's how fgrep is defined on my system: > > = cat /bin/fgrep > #!/bin/sh > exec grep -F ${1+"$@"} > > IMHO, it should look like: > > #!/bin/sh > exec grep -F ${1:+"$@"} > > Notice the colon inserted between the 1 and the +. I don't know what > ${1+...} does because I can't find any documentation for it in the sh > manpage. I suspect that it is intentional [0]; I know that it is poorly documented, too... I think it is defined this way for maximal portability with old shells. So I'm retitling this bug as a documentation problem regarding classification of "binary" files. Justin [0] http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]