I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and changes that to a.
syntax: encrypt c file
it then makes all c's in the file now a, all the d's a+1 and so forth.. i think that the letter and the file both have to be parameters for the script.. if you can help me it would be much appreciated.
frank