diff options
Diffstat (limited to 'posix/PTESTS2C.sed')
-rw-r--r-- | posix/PTESTS2C.sed | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/posix/PTESTS2C.sed b/posix/PTESTS2C.sed index b6850a3754..500b4ec21c 100644 --- a/posix/PTESTS2C.sed +++ b/posix/PTESTS2C.sed @@ -1,6 +1,8 @@ +# Future self: the vertical bar is being used here as a delimiter in +# the input file, not in the usual alternate-choice regex meaning. /^##/d s/^# \(.*\)/ { 0, 0, "\1", NULL, },/ s/^#W \(.*\)/ { 0, 0, NULL, "\1" },/ -s/\([^¦]*\)¦\([^¦]*\)¦\([^¦]*\)¦\([^¦]*\)¦\(.*\)/ { \1, \2, "\3", "\4", \5 },/ +s/\([^|]*\)|\([^|]*\)|\([^|]*\)|\([^|]*\)|\(.*\)/ { \1, \2, "\3", "\4", \5 },/ s/\\/\\\\/g s/ /\\r/g |