Project

General

Profile

Bug #13685

tar -C could work before the starting command

Added by Robert Mustacchi 21 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Today, if you want to use tar -C, you need to use it after the traditional arguments that tell it how to construct something, otherwise it fails with the following:

tar: C: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPTvw@/[0-7]][bf][X...] [j|J|z|Z] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...

gtar definitely does work with this and scripts out there expect this to work, whether rightfully or wrongly, so it'd be useful for us to have -C (and possibly others) handled before the starting modifier function.

No data to display

Also available in: Atom PDF