[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: not in X. man command does not respect set bell-style visible



Andrei POPESCU <andreimpopescu@gmail.com> wrote:
>On Jo, 01 mar 12, 18:02:40, Claudius Hubig wrote:
>> 
>> ->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
>> #!/bin/sh
>> /bin/less -q $*
>
>I've read somewhere that "$@" (including the quotes) is safer in such 
>situations.

That’s also what keeps lingering in the back of my head. However, I
cannot recall the reasons why $* would be unsafe. Unfortunately,
googling for either $* or $@ is not exactly…helpful.

Maybe you have a link or a hint to a man page regarding this topic?
bash(1) does not appear to mention $@.

Best regards & thank you very much,

Claudius
-- 
As President I have to go vacuum my coin collection!
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



Reply to: