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

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

Re: shar util problem


From: Eric Blake
Subject: Re: shar util problem
Date: Mon, 23 Mar 2009 19:38:50 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jagan M on 3/23/2009 6:23 AM:
> Hi,
> 
> I had a problem with command "shar" and "shar --help" shows that bugs can be
> reported to address@hidden, so sending this mail.

Not a bug in shar, but in your usage.

> 
> Problem:
> my PWD were having  5 *.CC files, 5 *.hh files, 5 *.txt files and one
> makefile.
> At this point I tried
> $shar -T *.* > homework.shar
> This resulted in WHOPPING more than 250 MB shar file.

*.* matches homework.shar.  So you were trying to create a shar file that
recursively includes itself.  This doesn't really work, but it sure
creates large files before it fails.

> 
> But then, the next line worked perfect.
> $shar -T *.cc *.hh *.txt makefile > homework.shar

Yep, that excluded homework.shar, and explains your smaller file.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknIOaoACgkQ84KuGfSFAYAkUgCg03llU5V0TDFcFYCmnU5vpFPE
vw8AoIGixx3hm1qlmFy1yLOrYHDBkNbr
=p4oJ
-----END PGP SIGNATURE-----




reply via email to

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