fixed the bug of not able to find the longest match for a multiple-character RS.
This commit is contained in:
@ -2087,6 +2087,20 @@ IGNORECASE= 1
|
||||
1
|
||||
1
|
||||
--------------------------------------------------------------------------------
|
||||
[CMD] qseawk -m 500000 --newline=on -o- -f lang-043.awk lang-043.dat </dev/stdin 2>&1
|
||||
--------------------------------------------------------------------------------
|
||||
BEGIN {
|
||||
RS = "[ \n\v\f\r ]*[\r\n]+[ \n\v\f\r ]*";
|
||||
}
|
||||
|
||||
{
|
||||
print $0;
|
||||
}
|
||||
|
||||
abcd
|
||||
dcba
|
||||
j
|
||||
--------------------------------------------------------------------------------
|
||||
[CMD] qseawk -m 500000 --newline=on -F: -f columnate.awk ./passwd.dat </dev/stdin 2>&1
|
||||
--------------------------------------------------------------------------------
|
||||
root x 0 0 root /root /bin/bash
|
||||
|
Reference in New Issue
Block a user