Skip to main content
8 events
when toggle format what by license comment
Feb 5, 2021 at 20:52 comment added user232326 It is interesting to note that the POSIX spec requires that the result of a regex match in awk evaluates to 1 (not other true value nor an non-empty string): If the regular expression matches the string, the '˜' expression shall evaluate to a value of 1, and the "!˜" expression shall evaluate to a value of 0.. Gawk also follows that convention. That's why /.../ != /.../ results in either 0 or 1 (only true or false).
S Feb 5, 2021 at 15:43 history mod moved comments to chat
S Feb 5, 2021 at 15:43 comment added terdon Comments are not for extended discussion; this conversation has been moved to chat.
Feb 4, 2021 at 7:50 history edited rowboat CC BY-SA 4.0
gawk xor
Feb 3, 2021 at 16:22 history edited rowboat CC BY-SA 4.0
deleted 4 characters in body
Feb 3, 2021 at 16:13 history edited rowboat CC BY-SA 4.0
not equal
Feb 3, 2021 at 15:32 history edited rowboat CC BY-SA 4.0
added 2 characters in body
Feb 3, 2021 at 15:03 history answered rowboat CC BY-SA 4.0