Hi, uutils mainteners
as i see the uutils ptx not handle errors the -W option when a regex is a wrong syntax, as our testing confirms
relunsec@relunsec:~/software/coreutils/target/debug$ ./ptx -W $'^[' a
just no output and exits with status code 0 no errors, however the gnu one handles the error correctly and aknolegded the user that their regex is invalid
relunsec@relunsec:~/software/coreutils/target/debug$ gnuptx -W $'^[' a
gnuptx: Invalid regular expression (for regexp ‘^[’)
Hi, uutils mainteners
as i see the uutils ptx not handle errors the -W option when a regex is a wrong syntax, as our testing confirms
just no output and exits with status code 0 no errors, however the gnu one handles the error correctly and aknolegded the user that their regex is invalid