2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 3581
/ 12 Months ago, sat, may 20, 2023, 6:02:31
When I want to process a bunch of tex files, I use
for f in *.tex; do latex "$f" ; done;
What do I do when I need to redirect output to another file, like in case of catdvi?
The following does not work:
for f in *.dvi ; do catdvi -e 1 -U $f > "${f%.dvi}.txt"; done;
What am I doing wrong?
More From » bash