Search Results

Search: Posts Made By: fastlane3000
1,239
Posted By fastlane3000
I haven't tried it but maybe it could work ...
I haven't tried it but maybe it could work

nawk 'NR<=1000&&substr($0,25,10)~/ABC/{sub(substr($0,1,100),"5");print}NR>1000||substr($0,25,10)!~/ABC/{print}' infile
Showing results 1 to 1 of 1

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