Search Results

Search: Posts Made By: Scrutinizer
1,043
Posted By Scrutinizer
Hi jiam912, you are welcome. Try something like :...
Hi jiam912, you are welcome. Try something like :
awk 'NF!=56{print>(FILENAME ".faulty")}1' FS='\n' RS= ORS='\n\n' file
1,043
Posted By Scrutinizer
Try: awk 'NF==56' FS='\n' RS= ORS='\n\n' file ...
Try:
awk 'NF==56' FS='\n' RS= ORS='\n\n' file
This should work if there are empty lines between the records, like in your sample.
Showing results 1 to 2 of 2

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