tar & ulimit are pissing me off.
Marco S Hyman
marc at dumbcat.UUCP
Fri Mar 16 13:09:40 AEST 1990
>> cat gcc-1.36.tar.Z.*[0,1,2,3,4,5,6,7,8,9,10] > gcc-1.36.tar.Z
In all the discussion about the above command no-one has pointed out that
the use of brackets here is incorrect. Assuming C-shell, I believe the
original poster wanted (and perchance meant) ...Z*{0,1,2,3,4,5,6,7,8,9,10}.
Note the curly braces, not the brackets. What was entered was a character
class that just happened to have the comma in it 10 times and the 0 and 1
twice. An equivalent expression would be ...Z*[0-9,]. Also, when using the
curly braces the shell builds the arguments in the order given.
Besides that Conor's analysis was correct.
// marc
--
// {ames,decwrl,sun}!pacbell!dumbcat!marc
// pacbell!dumbcat!marc at lll-winken.llnl.gov
More information about the Comp.unix.i386
mailing list