Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/String-length/AWK/string-length-1.awk
Normal file
4
Task/String-length/AWK/string-length-1.awk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
w=length("Hello, world!") # static string example
|
||||
x=length("Hello," s " world!") # dynamic string example
|
||||
y=length($1) # input field example
|
||||
z=length(s) # variable name example
|
||||
2
Task/String-length/AWK/string-length-2.awk
Normal file
2
Task/String-length/AWK/string-length-2.awk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/awk -f
|
||||
{print"The length of this line is "length($0)}
|
||||
Loading…
Add table
Add a link
Reference in a new issue