Hi, On 8/2/22 22:10, DJ Chase wrote:
Would this work:OUTPUT="$(mandoc -Tlint || true)" OUTPUT="$(printf %s\\n "$OUTPUT" | sed '/reg/ex/d')" if [ "$OUTPUT" ]; then printf %s\\n "$OUTPUT" exit 1 fi
Yes, something like that is what I had in mind. Not the nicest thing to do, but better than nothing.
Cheers, Alex -- Alejandro Colomar <http://www.alejandro-colomar.es/>
OpenPGP_signature
Description: OpenPGP digital signature