I'm using the public domain korn shell in the CYGWIN unix emulator. I'm trying display the privileges of two different files where the user only has to run the script with the two file names as parameters. This is what I've gotten so far.
ls -al $FILE_ONE
ls -al $FILE_TWO
I realize this is probably a very klunky way of doing this, but it's all I know how to do right now. I'm receiving the following error with the above code:
testksh: line 5: $'\r': command not found
: No such file or directory
I've put in echo statements which shows that the parameter is being assigned the correct value. I've also run the ls statement on it's own successfully with the variable.
Please help, I'm at a loss as what to do next.