Hi,

I tried to use gawk to perform some text conversions. But I could not
substitute new lines (\n) using gsub such as:
gsub(/\[[\n]*\]/, "");

For example, if I have a file containing:
<"Week Report" [



]>

I want to convert these lines to:
<"Week Report">

What is wrong with the expression?

Thanks for any help,
Rita 
-- 
View this message in context: 
http://www.nabble.com/problem-with-GAWK-gsub-when-substitute-new-lines-tp24085827p24085827.html
Sent from the Gnu - Utils - Help mailing list archive at Nabble.com.



Reply via email to