Search Results

Search: Posts Made By: svencz
2,085
Posted By svencz
thanks scott, you are right - i've left out...
thanks scott,

you are right - i've left out the braces on the command line. the script file also worked after removing them.

i was using braces like in c ... my 1st lesson!
2,085
Posted By svencz
awk beginners question
hi,

i start using awk and have a very basic problem. here's my code:


#! /usr/bin/awk -f
# 2010, scz
#


{
$1 == "test" { print $2 }
}


this works on the command line but not as...
Showing results 1 to 2 of 2

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