Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Literals-Integer/AWK/literals-integer-1.awk
Normal file
6
Task/Literals-Integer/AWK/literals-integer-1.awk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
BEGIN {
|
||||
if ( (0x2d7 == 727) &&
|
||||
(01327 == 727) ) {
|
||||
print "true with GNU awk"
|
||||
}
|
||||
}
|
||||
5
Task/Literals-Integer/AWK/literals-integer-2.awk
Normal file
5
Task/Literals-Integer/AWK/literals-integer-2.awk
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
BEGIN {
|
||||
x2d7 = "Goodbye, world!"
|
||||
print 0x2d7 # gawk prints "727", nawk prints "0Goodbye, world!"
|
||||
print 01327 # gawk prints "727", nawk prints "1327"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue