Re: Bison submit patches
Simon Josefsson via Gnulib discussion list <[email protected]> Wed, 24 Aug 2022 11:54:15 +0200
| Newsgroups | gmane.comp.lib.gnulib.bugs,gmane.comp.parsers.bison.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bruno Haible <[email protected]> writes: > In this case, you'll better modify the unit test to pipe the result > through "tr -d '\r'". This is unrelated, but alas I've not found a more portable way to trim CR than this since some tr do not support \r: if echo solaris | tr -d '\r' | grep solais > /dev/null; then cr='\015' else cr='\r' fi # normalize output LC_ALL=C tr -d "$cr" < $TMPFILE > x$TMPFILE /Simon
signature.asc
(application/pgp-signature, 255 B)
-----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYwX1RxQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFok90APwMFRdBUsaktUM4jnyaBGeZtubhu2GX YrDxiQTSrmZ3YQD+Jt+Zww+PYrauQUSrch5UJGOgY7GCQxoZEzlGZvjTxww= =Qs7X -----END PGP SIGNATURE-----