Search Results

Search: Posts Made By: steveje0711
11,735
Posted By steveje0711
vgersh99, Hmm, can't quite grasp the...
vgersh99,

Hmm, can't quite grasp the technique. I tried the following:

cat hosts | eval $(nawk '{printf("IP=%s NAME=%s\n", $1, $2)}') | echo $IP $NAME
AZPHNX-E-3600-02 ( got back 1/2 line of...
11,735
Posted By steveje0711
Assigning nawk output to variables
I do a lot of command line scripting to capture data from files or other command output. I've checked in a number of Unix and scripting books but for the life of me I can't find out how to asign...
Showing results 1 to 2 of 2

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