Search Results

Search: Posts Made By: simha77777
20,575
Posted By simha77777
Perfect ! Thanks a bunch vgersh99
Perfect !
Thanks a bunch vgersh99
20,575
Posted By simha77777
Thanks for the information. In my case the...
Thanks for the information.

In my case the delimiter is tab and the fields can have space in them.
This is causing it to give improper results
What do I need to use to specify the tab...
20,575
Posted By simha77777
Kool! vgersh99 thats exactly what i wanted. ...
Kool! vgersh99 thats exactly what i wanted.

How do I handle the case when my file myFile is tab delimited
20,575
Posted By simha77777
Opps my bad. It works perfectly for printing...
Opps my bad. It works perfectly for printing column in the numberList that match the myFile

If I understand your solution right - we can print only the 14th coulmn from the myFile right?
I...
20,575
Posted By simha77777
Not sure what I am doing wrong, but I am not...
Not sure what I am doing wrong, but I am not getting any results when i run the command
nawk -f simha.awk numberList myFile

numberList is my single column file with the numbers which are used to...
20,575
Posted By simha77777
vgersh99, Pardon my ignorance - Just a...
vgersh99,

Pardon my ignorance -
Just a little clarification needed here.
numList and numberList mismatch is a typo or it needs to be that way?

Also how do I check for a particular coulmn in...
20,575
Posted By simha77777
Thank you for the response. In my case, I...
Thank you for the response.

In my case, I don't have a definite pattern to use as a regexp, I would have to pass a list of numbers, which might not be in a sequence.
HTH
20,575
Posted By simha77777
Awk - select from a list
Hi all,

I am trying to select some columns from a file, based on the list of values.
Would like to know how best I can achive this.

If coulmn 1 has a value of 57 then print the ist column...
Showing results 1 to 8 of 8

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