@[email protected] to [email protected] • 7 months agowhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?message-square40fedilinkarrow-up129arrow-down118file-text
arrow-up111arrow-down1message-squarewhy does noone inprove bash such that you can write a normal foor loop with whitespace in file names?@[email protected] to [email protected] • 7 months agomessage-square40fedilinkfile-text
minus-square@[email protected]linkfedilink25•7 months agoAm I not reading your question right? Just quote the variable and filenames with spaces work fine. for i in *; do cat "$i" ; done
Am I not reading your question right? Just quote the variable and filenames with spaces work fine.
for i in *; do cat "$i" ; done