Search Results

Search: Posts Made By: Turlock
6,640
Posted By neutronscott
Adjust FindString and l as necessary. awk...
Adjust FindString and l as necessary.


awk '/FindString/ { l=10; } l&&l-- {printf("%s%s", $0, l?",":"\n");}' file
Showing results 1 to 1 of 1

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