inline Looping over files with the shell

Originally published on May 1st, 2020 (Last updated on May 1st, 2020)

To loop over a set of files, do:

# files can have wildcards (*.c or article-*.md)
for F in files
do
    # do something with $F
done

Comments

No com­ment sec­tion here 😄

You can reach me over at @knuth_dev or send me an Email.