@barbara@lemmy.ml to Linux@lemmy.ml • 1 year agowhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?message-square41fedilinkarrow-up130arrow-down117file-text
arrow-up113arrow-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 • 1 year agomessage-square41fedilinkfile-text
@kbal Don’t you mean
IFS=$'\\n'
?Sure, or IFS=`echo “\n”` if you like