I have folder with multiple html files and I'd like to run hxnormalize on all of them and write the results back into the files.
I already tried
hxnormalize -e *.html and
cat *.html | hxnormalize -e > *.html
according to man page, hxnormalize work on a single file.
for x in *.html do hxnormalize -e "$x" > foo mv -f foo "$x" done
you can remove quote if no funny name.
you can single line
for x in *.html ; do hxnormalize -e "$x" > foo ; mv -f foo "$x" ; done