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

3 lines
102 B
Awk

$ awk 'BEGIN{c="x"; s="hello";s1 = "abcd"; s2 = "ab\"cd"; s=s c; print s; print s1; print s2}'
hellox