inline Looping over files with the shell

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

comments powered by Disqus