Search Results

Search: Posts Made By: shalini_008
1,418
Posted By shalini_008
Issue with awk script
Hi ,

I am using the below awk script

awk '{if($0 ~ /B1/) {set=1; next }; if( $0 ~ /END/) {set = 0}; if (set ) { print }}' CODE | awk '/A \(P1\)/{f=1}f && /}/{print; system("cat...
1,419
Posted By shalini_008
awk script Issues
Thanks actually that soultion actually worked .

I am having another issue with my awk script

Contents of my file is like this
file
AND (P1) {
no : and ;
mo : band ;
co : land ;
}...
1,419
Posted By shalini_008
Sed Script Problem
My file is having the contents like this

AND1 (A) {
non : hafe
on: tc
ma : nite }

AND1 (B) {
non : hafe1
on: tc1
ma : nite1 }

AND1 (C) {
non : hafe3
on: tc2
ma : nite3 }

...
2,517
Posted By shalini_008
insertion of text from sed script
Hi ,

This is my first thread ; facing some issues withmy sed script

I need to insert the code from my log file which is between two keywords.

content is like this ........
log...
Showing results 1 to 4 of 4

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