barbara to Linux · 8 months agowhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?message-squaremessage-square45fedilinkarrow-up131arrow-down117file-text
arrow-up114arrow-down1message-squarewhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?barbara to Linux · 8 months agomessage-square45fedilinkfile-text
minus-squarekbal@fedia.iolinkfedilinkarrow-up5·edit-28 months agoThat’s quite a lot of comments so far with nobody saying IFS=’ ’
minus-squarehapidjus@mastodon.sociallinkfedilinkarrow-up1·8 months ago@kbal Don’t you mean IFS=$'\\n' ?
minus-squarekbal@fedia.iolinkfedilinkarrow-up1·edit-28 months agoSure, or IFS=`echo “\n”` if you like
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