Search Results

Search: Posts Made By: ligedasi
3,914
Posted By ligedasi
OK - you want it after each appearance of AC003? ...
OK - you want it after each appearance of AC003?
awk '/AC003/ {print;while (getline<"file2">0) print; close("file2");next} {print}' file1

Scrutinizers genious line works also at my Solaris 8...
3,914
Posted By ligedasi
awk '/AC003/ {print;while (getline<"file1">0)...
awk '/AC003/ {print;while (getline<"file1">0) print;next} {print}' file2
Showing results 1 to 2 of 2

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