Search Results

Search: Posts Made By: cvigeant
1,134
Posted By cvigeant
Setting Varible with AWK in KSH
I am trying to set a variable from this AWK command in KSH but I keep getting an error that says my variable cannot be found.

LOADNO = $(awk -F"|" 'NR==1{print $2}' file.txt)

If I just run...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy