BTS

Message3778

Author ft
Recipients btittelbach
Date 2011-05-09.23:56:45
Content
Bernhard Tittelbach wrote:
> Bernhard Tittelbach <xro@realraum.at> added the comment:
>
> as for: 
> for i in *; do something-with $i; done
> versus
> while $1...shift?
>
> the former has word splitting problems in propably just about any shell
> scripting language other than zsh. So I consider it bad practise in shell
> scripts in general.

No it does not.

Although I meant

for i in "$@"; do ...

But neither has any word splitting problems.

Regards, Frank
History
Date User Action Args
2011-05-09 23:56:47ftsetrecipients: + btittelbach
2011-05-09 23:56:47ftlinkissue982 messages
2011-05-09 23:56:45ftcreate