Hi, I am trying to write a script that calls ispell (my linux version doesn't have aspell) on a file and runs from there. Pretty much looks like this at the beginning:
#!/bin/bash
# script that will spell check a file
read -p "Enter a file name: " fileName
ispell fileName
I just want this to prompt for a filename, then run ispell on that file. Also note that I do know you can just type $ ispell file and it will run, but I want it to run this way. Any help for this beginner?