kfowler / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

Add option to send extracted file to stdout #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would be nice to have an option like bsdtar -O to send extracted file to stdout.
LESSOPEN.sh could use this to view inside xar files like it does for tar 
archives.

What is the expected output? What do you see instead?
Just like bsdtar -- right now all -x operations result in file extracted to disk

What version of the product are you using? On what operating system?
xar 1.6dev OS X 10.7.3

Please provide any additional information below.

Original issue reported on code.google.com by Len.Latt...@gmail.com on 8 Feb 2012 at 10:59

GoogleCodeExporter commented 8 years ago
Yes, it is sometimes useful to be able pipe the extracted file to a filter.  
Using TEMPorary files is just ugly.  Most archivers have this (unzip -p, tar 
-O, 7za -so).
NB: A more flexible piping mechanism is proposed by Issue 48

Original comment by dbo...@gmail.com on 29 Jun 2012 at 5:21