bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shar produces bad shar file !!!


From: Bob Proulx
Subject: Re: shar produces bad shar file !!!
Date: Thu, 25 Oct 2007 16:17:16 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

Bruce Korb wrote:
> I stumbled into this problem when scp and sftp were down due to
> some firewall changes.  So, I ran shar and captured the terminal
> output.  I will modify "shar" to detect "output" and "stderr" both
> going to a terminal and, if true, then reopen stderr to /dev/null.
> The spurious line came from an "error" message.

Perhaps shar should include a -q,--quiet option to not produce
informational messages in that case?  :-)

  $ shar -q cs-code.tbz > cs-code.tbz.shar
  $

But I agree that doing this automatically might be quite helpful.  It
would "do the right thing" without the option.

I would be happy if --quiet were the default operation.  I personally
like the Thompson school of programming and think that most programs
are too chatty anyway.  :-)

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]