bash features (Re: Question about Depends: bash)

2006-11-22 Thread Oleg Verych
On 2006-11-21, Ian Jackson wrote: Oleg Verych writes (Re: Question about Depends: bash): o `arrays' bashizm - tmp=$@ ; set -- $ARRAY ; use_array $@ ; set -- $tmp This is another piece of bad advice: this approach is buggy if the arguments might contain whitespace, which is often the case (eg

Re: bash features (Re: Question about Depends: bash)

2006-11-22 Thread Jean-Christophe Dubacq
On Wed, Nov 22, 2006 at 10:12:14AM +, Oleg Verych wrote: On 2006-11-21, Ian Jackson wrote: Oleg Verych writes (Re: Question about Depends: bash): o `arrays' bashizm - tmp=$@ ; set -- $ARRAY ; use_array $@ ; set -- $tmp This is another piece of bad advice: this approach is buggy if