bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] How to unescape a string?


From: Peng Yu
Subject: [bug-gawk] How to unescape a string?
Date: Tue, 23 Oct 2018 16:31:24 -0500

Hi,

I have a string in which the double quote character is escaped as \"
(baskslash character and double quote character) and the backslash
character is escaped as \\ (double backslash). Does anybody know a
simple way to unescape such a string in awk? (The following is a
simple example of the input and the output.) Thanks.

a\\b\" -> a\b"

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]