-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vincent,
it may (or may not) make sense to move to commons-cli: http://commons.apache.org/cli/introduction.html which addresses this (and other problems) very well, but this would mean a lot more work. Max Jeremias Maerki schrieb: > Hi Vincent > > Certainly not, but you'll probably have to do a few more changes to the > command-line parser to be able to use the "-". You'll see. ;-) > > On 11.07.2008 12:01:24 Vincent Hennebert wrote: >> Hi Jeremias, >> >>> Author: jeremias >>> Date: Thu Jul 10 12:47:12 2008 >>> New Revision: 675698 >>> >>> URL: http://svn.apache.org/viewvc?rev=675698&view=rev >>> Log: >>> Added support for piping: >>> - input from stdin (-imagein not supported) >>> - output to stdout >>> >>> Syntax: fop -xml # -xsl mystylesheet.xsl -pdf # >>> (reads the XML from stdin and sends the generated PDF to stdout) >> The de facto standard in the Unix world is to use ‘-’ to specify stdin >> or stdout: >> fop -xml - -xsl mystylesheet.xsl -pdf - >> >> No objection if I change the code accordingly? >> >> Thanks, >> Vincent > > > > > Jeremias Maerki > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkh3RCUACgkQ+Gr+4pk71JyASACfc9j+U87JiPH36L8ApBWvn9p2 myUAnR3Ac7DXQqXPIy6xrrwEKnkkVQAh =eiDz -----END PGP SIGNATURE-----
