GNU tar somewhat cleverer than I thought

Dave Korn dave.korn@artimi.com
Sun Sep 7 21:56:00 GMT 2008


Igor Peshansky wrote on 07 September 2008 21:32:

> On Sun, 7 Sep 2008, Dave Korn wrote:
> 
>> http://www.gnu.org/software/tar/manual/tar.html#SEC112

>> Contrast this with the command,
>> 
>> $ tar -c -f jams.tar grape prune -C food red/cherry
>> 
>> which records the third file in the archive under the name 'red/cherry'
>> so that, if the archive is extracted using 'tar --extract', the third
>> file will be written in a subdirectory named 'orange-colored'. "
>> 
>>   :) That's some fairly powerful AI they must have there.
> 
> Well, it *is* GNU software...

  I tested it and it didn't work though, so I should probably file a bug
report.

> In other words, they are just checking if you're paying attention.

  That's one possibility, but I couldn't help wondering if it was maybe some
kind of a clbuttic mistake.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Cygwin-talk mailing list