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 |