iusearchbtw@lemm.eetoLinux@lemmy.ml•why does noone inprove bash such that you can write a normal foor loop with whitespace in file names?
26·
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
Tribalism is fun