Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Francois Berenger <mlists@ligand.eu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Making ocamlfindinstall less verbose
Date: Tue, 06 Apr 2021 13:40:50 +0900	[thread overview]
Message-ID: <15101c521ea9c12d52ba7d3aa7a977b1@ligand.eu> (raw)
In-Reply-To: <YGta5bY2M6mn+60e@prajna.paris.inria.fr>

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.

  reply	other threads:[~2021-04-06  4:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 18:45 Sébastien Hinderer
2021-04-06  4:40 ` Francois Berenger [this message]
2021-04-06 12:52   ` Sébastien Hinderer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15101c521ea9c12d52ba7d3aa7a977b1@ligand.eu \
    --to=mlists@ligand.eu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox