* [Caml-list] Making ocamlfindinstall less verbose
@ 2021-04-05 18:45 Sébastien Hinderer
2021-04-06 4:40 ` Francois Berenger
0 siblings, 1 reply; 3+ messages in thread
From: Sébastien Hinderer @ 2021-04-05 18:45 UTC (permalink / raw)
To: caml-list
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Making ocamlfindinstall less verbose
2021-04-05 18:45 [Caml-list] Making ocamlfindinstall less verbose Sébastien Hinderer
@ 2021-04-06 4:40 ` Francois Berenger
2021-04-06 12:52 ` Sébastien Hinderer
0 siblings, 1 reply; 3+ messages in thread
From: Francois Berenger @ 2021-04-06 4:40 UTC (permalink / raw)
To: caml-list
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-06 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 18:45 [Caml-list] Making ocamlfindinstall less verbose Sébastien Hinderer
2021-04-06 4:40 ` Francois Berenger
2021-04-06 12:52 ` Sébastien Hinderer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox