Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: venky.b5
1,763
Posted By venky.b5
Hi, you missed if as peasent suggested ...
Hi,

you missed if as peasent suggested

ls -lrt | awk '{if(($6 == "Jun") && ($7 == "20")) print $0}'

Thanks
Venkat
1,270
Posted By venky.b5
Hi, please try this nawk 'FS="|"...
Hi,

please try this

nawk 'FS="|" {if(NF!=5)print $0}' file.txt

or

awk -F"|" 'NF!=5 {print $0}' file.txt

venky
Showing results 1 to 2 of 2

 

Featured Tech Videos

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