barbara@lemmy.ml to Linux@lemmy.ml · 2 years agowhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?message-squaremessage-square39fedilinkarrow-up128arrow-down117file-text
arrow-up111arrow-down1message-squarewhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?barbara@lemmy.ml to Linux@lemmy.ml · 2 years agomessage-square39fedilinkfile-text
minus-squarekbal@fedia.iolinkfedilinkarrow-up5·edit-22 years agoThat’s quite a lot of comments so far with nobody saying IFS=’ ’
minus-squarehapidjus@mastodon.sociallinkfedilinkarrow-up1·2 years ago@kbal Don’t you mean IFS=$'\\n' ?
That’s quite a lot of comments so far with nobody saying
IFS=’ ’
@kbal Don’t you mean
IFS=$'\\n'?Sure, or IFS=`echo “\n”` if you like