Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Literals-String/AWK/literals-string-1.awk
Normal file
6
Task/Literals-String/AWK/literals-string-1.awk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
c = "x"
|
||||
str= "hello"
|
||||
s1 = "abcd" # simple string
|
||||
s2 = "ab\"cd" # string containing a double quote, escaped with backslash
|
||||
print s1
|
||||
print s2
|
||||
2
Task/Literals-String/AWK/literals-string-2.awk
Normal file
2
Task/Literals-String/AWK/literals-string-2.awk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
$ awk 'BEGIN{c="x"; s="hello";s1 = "abcd"; s2 = "ab\"cd"; s=s c; print s; print s1; print s2}'
|
||||
hellox
|
||||
Loading…
Add table
Add a link
Reference in a new issue