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

7 lines
161 B
Awk

c = "x"
str= "hello"
s1 = "abcd" # simple string
s2 = "ab\"cd" # string containing a double quote, escaped with backslash
print s1
print s2