Search Results

Search: Posts Made By: Mohana29_1988
2,126
Posted By Mohana29_1988
Cannot resolve $variable in awk
My script
----------
for i in `cat n`;do
export k=`echo "CSN: "$i` //combining CSN: and value from n
echo "$k"
awk ''{print "CSN: "$0;}'{_=29}_&&_--' file1|tail -1 >> file2
done

In the above...
1,806
Posted By Mohana29_1988
Cannot resolve $var in awk
My script
----------
for i in `cat n`;do
export k=`echo "CSN: "$i` //combining CSN: and value from n
echo "$k"
awk ''{print "CSN: "$0;}'{_=29}_&&_--' file1|tail -1 >> file2
done

In the...
Showing results 1 to 2 of 2

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