Страхиња Радић <cont...@strahinja.org> writes:

When `while ... read ...` idiom is used, it is advisable to clear IFS to turn off field splitting

*nod* Fair point; it's not set by default, so i didn't think to note that any manual setting of it should be overridden for this.

and use -r to avoid interpretation of backslash sequences in the input:

i wondered about that in this context. If people putting odd / inappropriate things in directory names are a concern ("weird characters", as you wrote upthread), what do we do about the possibility of someone having consciously put e.g. a \t in a directory name because they were assuming that it _would_ get interpreted when required?


Alexis.

Reply via email to