This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 15 Dec 2016 18:35, Mike Frysinger wrote: > Both regexes end with a "*." which means the previous match can be > omitted, and then the . allows them to match any input at all. > > This means tools like coreutils' `rm -i` will always delete things > when prompted because the yesexpr regex matches all inputs (even > the negative ones). meant to include this, but here's the diff made readable: -yesexpr "^[+1dDyY]*." -noexpr "^[-0nN]*." +yesexpr "^[+1dDyY]" +noexpr "^[-0nN]" -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |