Apparently not:
> ls -al /dev/fd/0
crw-rw-rw- 1 DFS DCEMVS 5, 0 Feb 12 12:08 /dev/fd/0
> cat /etc/profile | jar cvM /dev/fd/0 > profile.zip
/dev/fd/0 : no such file or directory
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:316)
at
java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:165)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:335)
at sun.tools.jar.Main.create(Main.java:453)
at sun.tools.jar.Main.run(Main.java:174)
at sun.tools.jar.Main.main(Main.java:942)
On Feb 12, 2008 10:09 AM, Paul Gilmartin <[EMAIL PROTECTED]> wrote:
> On Tue, 12 Feb 2008 09:25:35 -0600, Kirk Wolf wrote:
> >
> >Using "jar" requires that the file be first stored in an HFS file,
> >since jar can only process files, and not "stdin".
> >
> Will it process character special files, e.g. /dev/fd/0?
>
> -- gil
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html