in reply to Simple awk question
Please provide enough of your perl code to show what the variables are, the input, and what you expect the output to look like.
echo $variable | awk '{print $1}'
is redundant. Save yourself some typing.
echo $variable
Okay, you are probably trying to do more than just print a single variable, but that's all I have to go on from what you've given me so far. Well, there's an array called @F and scalars called $time and $error, but it's anyone's guess as to what they contain or what they are for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple awk question
by czah7 (Initiate) on Jun 05, 2014 at 18:35 UTC | |
by fishmonger (Chaplain) on Jun 05, 2014 at 19:02 UTC | |
by czah7 (Initiate) on Jun 05, 2014 at 19:29 UTC | |
by GotToBTru (Prior) on Jun 05, 2014 at 20:15 UTC | |
by czah7 (Initiate) on Jun 05, 2014 at 21:24 UTC |