Hello, Is there a way to make `ocmalfiond install` less verbose? Ideally to make it print something only if an error occurs? Thanks, Sébastien.
On 06/04/2021 03:45, Sébastien Hinderer wrote:
> Hello,
>
> Is there a way to make `ocmalfiond install` less verbose? Ideally to
> make it print something only if an error occurs?
Hi Sebastien,
Just a workaround (that you might already know), since I don't know a
good answer:
ocamlfind install XXX 2>&1 | grep -i error -A 10 -B 10
Another way, if you really want a command to be silent, nohup will
almost always redirect logs to nohup.out;
then you can grep in it if needed.
Regards,
F.
Many thanks François! It's good to know there is no known solution. :) I'll suggest your workaround. Best wishes, Sébastien.