Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiline awk

Status
Not open for further replies.

moueza

Technical User
Oct 8, 2008
2
FR
hi,
if poub="introduction
gk,gk
fgfgd
concl
donc
"

I ve tried
cat poubMultiline |awk '{ gsub( /intro*concl/, "concl");print}' to remove introduction part but no sucess:
"introduction
gk,gk
fgfgd
concl
donc
"
So how can I do ?
 
Change the value of RS.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top