I need to run the $ aspell -c file.txt
command on about 300 files. I want bash to run the aspell -c <FILENAME>
for me for each file in the list, but allow me to do the interaction. So, for example:
- Bash presents
$aspell -c file1.txt
- I interact with the spellchecker, and fix all spelling errors in file1.txt
- Bash presents
$aspell -c file2.txt
- I interact with the spellchecker, and fix all spelling errors in file2.txt
- Bash presents
$aspell -c file3.txt
...
So on.
Is there a way to ask bash to run an interactive command, wait until the interaction is complete, and then run the next interactive command?
Thanks!