Is the error I get everytime I compile my file, the error references me to line 7, which is where I declare the main() function.
my main’s function is declared as
int main(int argc, char *argv[])
does anyone know what’s causing this?
any help is greatly appreciated.
line 1-6 is
It isn’t necessary to make a single-line awk script to embed it into a shell script. When you use single-quotes, it automatically handles multiple lines.