[NTG-context] updating context on Ubuntu 6.06

Hans Hagen pragma at wxs.nl
Wed Jul 26 23:01:56 CEST 2006


Sanjoy Mahajan wrote:
>>> Whereas the "$@" form would produce
>>>
>>>   texmfstart.rb "--option=hi there"
>>>
>>> This second form is what you want, no?
>>>       
>> Ah, I see. (is that bash-only?)
>>     
>
> It was hard to find a machine not running bash, a measure of the
> success of free software.  But I eventually found a nearby Solaris
> machine running 'sh' (couldn't tell which version), but it's man entry
> says the same:
>
>      if $@ is within a pair of double quotes, the positional
>      parameters are substituted and quoted, separated by unquoted
>      spaces ("$1""$2" ... )
>   
coincidentaly i read this in the bash manual today but i was puzzled by 
it not being

("$1" "$2" ... ) # separated by spaces 

> So I think it's safe, and increases robustness, to change $@ -> "$@"
> in all the stub scripts.
>
>   
i didn't follow this thread but i assume that at some point the outcome will be summarized; keep in mind that patched need to work for windows as well (different quoting) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list