Search Results

Search: Posts Made By: ycshen
9,056
Posted By ycshen
question about awk
Hi,

I have this,

awk '{for(x=1;x<=NF;x++) {array[x] = $x}}' input.txt

where input.txt has only one line (comma deliminated) and I am trying to get the data into an array. For some reason,...
Showing results 1 to 1 of 1

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