[Gllug] Compiling Debian Woody (not)

Jonathan Dye jonathan.dye at automationpartnership.com
Mon Jul 7 16:07:16 UTC 2003


Bruce Richardson wrote:
> On Sun, Jul 06, 2003 at 09:17:53AM +0100, Anthony wrote:
>> On Sat, 2003-07-05 at 17:02, Nix wrote:
>>> On Thu, 3 Jul 2003, Jonathan Dye mused:
>>>> Perhaps xjf would work better otherwise won't tar try and open an
>>>> archive called j?
>>> 
>>> No; f and similar options look at the *next parameter* for their
>>> filename. 
>> 
>> That seems like the sensible way to do it, but on Redhat 8 (Gnu tar
>> 1.13.25) "tar -xfj" results in:
>> 
>> tar: j: Cannot open: No such file or directory
>> tar: Error is not recoverable: exiting now
> 
> That's because you placed a dash in front.  If you just do 'tar xfj'
> then it works.  Leaving out the dash makes gnu tar use the traditional
> 'old style' tar invocation method.

Thats what I did before when it broke, now I no longer put the - but still
assumed that the f had to be last.
Out of interest is tar -xjf equivalent to tar -x jf or tar -x -j -f (or
something else)?

JD

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list