-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
Aimed at old "onetrueawk" versions as the preceding commit. See #10 for details.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ BEGIN { #{{{1 | |
} # else usage: awk -f JSON.awk file1 [file2...] | ||
|
||
# set file slurping mode | ||
srand(); RS="n/o/m/a/t/c/h" rand() | ||
srand(); RS="\x01n/o/m/a/t/c/h" rand() | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
step-
Author
Owner
|
||
} | ||
|
||
{ # main loop: process each file in turn {{{1 | ||
|
Hexadecimal sequence isn't allowed in POSIX awk (see Escape Sequences in awk), only octal.