Johnny can't read
I'm running a Korn shell script and want to read the first line from an external file into a local variable within the shell. I'm thinking that 'READ' would be the simplest way to do this, but I can't seem to find the syntax to read only a single line from a file.
Any help would be appreciated. TIA |
nevermind
I was trying to make this far too difficult; it's just:
READ LocalVariable < ExternalFile |
All times are GMT -5. The time now is 03:08 AM. |