barbara@lemmy.ml to Linux@lemmy.ml · 6 months agowhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?message-squaremessage-square39fedilinkarrow-up129arrow-down117file-text
arrow-up112arrow-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 · 6 months agomessage-square39fedilinkfile-text
minus-squarehapidjus@mastodon.sociallinkfedilinkarrow-up1·6 months ago@kbal Don’t you mean IFS=$'\\n' ?
minus-squarekbal@fedia.iolinkfedilinkarrow-up1·edit-26 months agoSure, or IFS=`echo “\n”` if you like
@kbal Don’t you mean
IFS=$'\\n'
?Sure, or IFS=`echo “\n”` if you like