Hello,

While fiddling with tar, I encountered the following bugs :

$ tar --portability -cvf my_dir.tar my_dir
tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
Try `tar --help' or `tar --usage' for more information
$ echo $?
64


And :

$ tar --old-archive -cvf my_dir.tar my_dir
tar: --old-archive: (PROGRAM ERROR) Option should have been recognized!?
Try `tar --help' or `tar --usage' for more information
$ echo $?
64

$ tar --version
tar (GNU tar) 1.22
[...]

I guess tar correctly identifies --portability as an alias for
--old-archive, but has a problem handling this option. It's easily
worked around by specifying --format=v7, but I believe it's still
worth reporting.

Regards,

Emmanuel

Reply via email to