Search Results

Search: Posts Made By: invinclible0009
5,752
Posted By invinclible0009
using command line arguments as columns for pattern matching using awk
Hi,

I wish to use a column, as inputted by a user from command line, for pattern matching.

awk file:

{
if($1 ~ /^8/)
{
print $0> "temp2.csv"
}
}

something like this, but i...
Showing results 1 to 1 of 1

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