Unix Shell script
Posted on 2007-12-02
I need to write a small sample script with the next features, it shouldn't be more thatn 10 lines of code:
I need a program that, for all the files (whose name is given as a parameter), will create a copy of them, changing the last 2 lines of each file for the content of an existing file in the current directory called ABC. The name of the new file should be the same as in the original file, but adding the string "mod" at the end.