Please direct followup postings to bug-gnu-utils.  Thanks!

Hi Bruce!

Bruce Korb wrote:
> $ shar --version
> shar - GNU sharutils 4.2.1
> 
> Produces this, in part:

What was the test case that produced that result?  I tried it on my
system and got something different.

> # ============= cs-code.tbz ==============
> if test -f 'cs-code.tbz' && test "$first_param" != -c; then
>   $echo 'x -' SKIPPING 'cs-code.tbz' '(file already exists)'
> else
> shar: Saving cs-code.tbz (binary)
>   $echo 'x -' extracting 'cs-code.tbz' '(binary)'
>   sed 's/^X//' << 'SHAR_EOF' | uudecode &&
> 
> The line after the 'else' does not work so well.

But surely that message was printed to stderr?  How did it end up in
the payload?

  $ echo > cs-code.tbz

  $ shar cs-code.tbz > cs-code.tbz.shar
  shar: Saving cs-code.tbz (text)

  $ grep Saving cs-code.tbz.shar ; echo $?
  1

It looks okay to me.  (shrug)

> Someone tell the sharutils maintainer to fix this.  :)

Very funny!  :-)

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to