Hacker News new | ask | show | jobs
by q_revert 4359 days ago
agreed, this is exactly the sort of thing for loops in shell are useful for.. incidentally, in zsh you can do this with

   for f (*.md) pandoc $f --to html > $f:r.html
personally I find that when I can fit a loop on a single line in zsh I'm much more inclined to use them