I am a beginner with shell script and AWK. I use PUTTY to write shell script.
Can I create new AWK script using vi command? I tried sample.awk. But everytime I open this file, the file does not retain anything I typed in.
Also, once AWK program is written, how do I execute it?