Glenn Fowler wrote:
> On Thu, 16 Aug 2007 12:17:13 -0700 (PDT) Don Cragun wrote:
>> When extracting files from an archive, three ways to specify it would
>> be:
>>              pax -r -s ",^/,," -x cpio < cpio_archive
>>              pax -r -s "/^\///" -x pax < pax_archive
>>              pax -r -s "x^/xx" -x ustar < ustar_archive
> 
> one minor nit,
>   "The archive formats described in the EXTENDED DESCRIPTION
>    section shall be automatically detected on input."
> so the ``-x format'' are not needed -- -x is actually not listed for the -r 
> mode,
> at least at http://www.opengroup.org/onlinepubs/009695399/toc.htm
> so this would suffice
> 
>       pax -r -s ",^/,," < any_archive_the_implementation_groks
> 
> I believe with ``-r -x format'' an implementation may treat input archive
> mismatch as an error, but this is not explicitly stated in the standard
> 
> (this *may* be the only spot in the standard where I have a chance of
>  knowing something Don doesn't)
> 
> -- Glenn Fowler -- AT&T Research, Florham Park NJ --
> 
> _______________________________________________
> ogb-discuss mailing list
> ogb-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ogb-discuss


Please take non governance issues off the OGB list.

cheers,
steve
-- 
stephen lau // stevel at sun.com | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development

Reply via email to