Zoubek Ondùej <[email protected]> ha escrit:

> I have added --only-first-file option to tar utility, version 1.19-3 
> obtained from my kubuntu repository as current version and sending its diff.
> 
> Its purpose is to extract only first file from archive (typically read
> from stdin) and die just after extracting it and not flushing input
> pipe (change to sys_drain_input_pipe() function).

There's hardly any need for the new option. You can achieve the same
effect by running:

  tar -xf archive-name --occurrence=1 --wildcards '*'

Regards,
Sergey


Reply via email to