Travis1243
Technical User
Hey, I am programming a small script for Solaris in my Unix class at school.. I am building a program that times runners..
Anyway, I am trying to assign a value to a variable using the awk command..
mine is set up like this
set starttime = `awk 'NR == 4 {print $0}' $1`
the $1 being the filename..
This gives me an error, saying it cannot open starttime..
Anyone have any idea what I am doing wrong here? Any help would be greatly appriciated..
THanks
Travis
Anyway, I am trying to assign a value to a variable using the awk command..
mine is set up like this
set starttime = `awk 'NR == 4 {print $0}' $1`
the $1 being the filename..
This gives me an error, saying it cannot open starttime..
Anyone have any idea what I am doing wrong here? Any help would be greatly appriciated..
THanks
Travis