Kristýna Streitová <[email protected]> wrote:

> > This is text used from the POSIX standard.
>
> Maybe it would be better to update the manual page so that it reflects 
> the current feature set? This can be a little bit confusing for users.

BTW: I just checked your example with the POSIX certified pax from Solaris.
This is a closed source program developed by Sun, IBM, HP, ....together
and therefore it is under /usr/has/bin on OpenSolaris:

gzip -d < ptar.tgz | /usr/has/bin/pax  -v                                       
     
USTAR format archive
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi1
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi1/cfg
-rw-r--r--  0 joerg    1000           0 Mai 22 15:53 dir1/sdi1/cfg/fich.cfg
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi2
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi2/cfg
-rw-r--r--  0 joerg    1000           0 Mai 22 15:53 dir1/sdi2/cfg/fich.cfg

gzip -d < ptar.tgz | /usr/has/bin/pax  -v -s 
',dir1/\([^/]*\)/\([^/]*\),dir2/\1-\2,' 
USTAR format archive
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi1
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi1/cfg
-rw-r--r--  0 joerg    1000           0 Mai 22 15:53 dir1/sdi1/cfg/fich.cfg
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi2
drwxr-sr-x  0 joerg    1000              Mai 22 15:53 dir1/sdi2/cfg
-rw-r--r--  0 joerg    1000           0 Mai 22 15:53 dir1/sdi2/cfg/fich.cfg

Maybe this is of interest....

In contrary to the other pax implementation frequently seen on Linux, 
/usr/has/bin/pax fully supports the POSIX -o  options from the standard.

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
    [email protected] (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'


_______________________________________________
S-tar-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-tar-developers

Reply via email to