RosettaCodeData/Task/Literals-String/AWK/literals-string-1.awk

7 lines
161 B
Awk
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
c = "x"
str= "hello"
s1 = "abcd" # simple string
s2 = "ab\"cd" # string containing a double quote, escaped with backslash
print s1
print s2