Timeline for Iterate over multiple parameters with spaces in bash script
Current License: CC BY-SA 3.0
        4 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2013 at 13:26 | comment | added | 0xC0000022L | @ruakh: that's exactly when xargscomes in handy. Last paragraph of my answer. | |
| Feb 11, 2013 at 0:10 | comment | added | ruakh | But what if the filenames contain newlines? | |
| Feb 10, 2013 at 22:16 | comment | added | Stéphane Chazelas | the latter is a kshism, copied by zsh and bash. When you use read, you need the-roption and remove the white space characters from$IFS(likeIFS= read -r i) unless you need the special behaviour ofreadif you don't | |
| Feb 10, 2013 at 21:48 | history | answered | 0xC0000022L | CC BY-SA 3.0 |