Search Results

Search: Posts Made By: Wes Kem
5,513
Posted By Wes Kem
Don -Thanks for the code! It works great! ...
Don -Thanks for the code! It works great!

I did modify to use IGNORECASE=1 and it handled case differences OK.

I also added the code to be in a loop so it will made the code changes to...
5,513
Posted By Wes Kem
This is awk I tried by it is looping theought the...
This is awk I tried by it is looping theought the last line of the file.

awk 'BEGIN{IGNORECASE=1} /libname/&&/DB2 datasrc/ {print;while($0!~ /:;/){getline;print;}}' file
5,513
Posted By Wes Kem
awk to combine lines from line with pattern match to a line that ends in a pattern
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine...
Showing results 1 to 3 of 3

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