Search Results

Search: Posts Made By: praveenK_Dudala
3,218
Posted By praveenK_Dudala
exclude records with null fields
Hi,
can I do something like this to add a condition of checking if the 4th field is number or space or blank also:

awk -F, '$4 /^[]*||[0-9]*/' MYFILE >> OTHERFILE

I also want the other part...
2,175
Posted By praveenK_Dudala
can I do something like this to add one more...
can I do something like this to add one more condition of checking if the 4th field is number or space or blank also:

awk -F, '$4 /^[]*||[0-9]*/' MYFILE >> OTHERFILE

I also want the other...
2,175
Posted By praveenK_Dudala
Thank you.
Thank you.
2,175
Posted By praveenK_Dudala
get a field from a record
I have a file as:
A,B,C,D,E
G,H,I,J,K

I need to find if fourth field is blank or has a space and print that line to other file.

I tried using awk but am not getting the desired result.
Pls...
Showing results 1 to 4 of 4

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