tar & ulimit are pissing me off.

Conor P. Cahill cpcahil at virtech.uucp
Wed Mar 14 09:32:13 AEST 1990


In article <6731 at turnkey.TCC.COM> jackv at turnkey.TCC.COM writes:
>>Problem #2 is that even though I can 
>>
>> ulimit 20000
>> cat gcc-1.36.tar.Z.*[0,1,2,3,4,5,6,7,8,9,10] > gcc-1.36.tar.Z
>                                             ^^^^^
>>At this point I get, "tar: directory checksum error" or something thereabouts
> 
>This is great!! I am not surprised you get a checksum error with a command
>like this, what you have when you are done is just part 10!! Try replacing
>the '>' with '>>' and everything should work fine :-}!!

That is not the case (if he typed in what he said he typed in).  And he
should definately use the single > to ensure that only those files are 
in the concatenation.

For example:

		> test.1
		> test.2
		> test.10

		echo *
		test.1 test.10 test.2
	
		echo test.*[0,1,2,3,4,5,6,7,8,9,10]
		test.1 test.10 test.2

		echo test.*[1,2,10]
		test.1 test.10 test.2
	
		echo test.*[1,2]
		test.1 test.2

So, the '10' will match a 10 (it will also match a 01).


-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.i386 mailing list