Package: mr
Version: 0.39
Severity: wishlist

I use mr to keep a number of branches on my laptop up to date, so that I
can easily take my laptop and go hack, without having to remember to
copy everything manually onto it.

I run mr from cron. This works fine, since all branches I am mirroring
are publically available. I get an e-mail from cron every few hours,
which contains the output of mr. I have to scan this manually to see if
(and what) went wrong. Using the -q option does not significantly reduce
the amount of text I need to scan.

It would be really handy for me to have a --really-quiet option (by
whatever name), which would suppress all output, unless something went
wrong. Possibly just outputting a single line saying all went OK (and N
branches were updated). This way, I could spend a few less brain cycles
on dealing with this output.

Actually, now that I think of it, it might be possible to generalize
this: a command called something like
suppress-output-unless-there-was-an-error that would capture stdout and
stderr and print nothing if the command exited with 0, else print
everything.

Joey, would you prefer mr --really-quiet or a command to submit to
moreutils? I'd be happy to submit a patch for either.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to