Hi Experts,
I am new to Unix. In shell script, just trying to read first line of a file, and store it in a variable.
set temp = `head -1 /test/temp.txt`
echo $temp
But it is not workin...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/sh/Q_24354013.html
Zones:
sh,
AIX Unix,
kshDate Answered: 04/24/2009 Rating: 9.0 Views: 167