WYAE - FWTOOLS Mailing List Archive
| Re: [fwtools] fwdoc_to_html
|
| From: | Volker Tanger |
| Date: | Tue, 03 Jul 2007 13:44:32 +0200
|
Greetings!
Nick Mandis writes:
> more policy.fwdoc | /home/python25/bin/python fwdoc_to_html.py >
> policy.htm
>
> After I press enter, the contents of policy.fwdoc is displayed and I
> get an empty policy.htm file
You should use "cat" instead of "more". Your "more" seems to write to the
display instead to STDOUT, thus fwdoc_to_html.py does not get any input,
resulting in an empty output due to empty input.
Please try:
cat policy.fwdoc \
| /home/python25/bin/python fwdoc_to_html.py \
> policy.htm
Bye
Volker
--
Volker Tanger http://www.wyae.de/volker.tanger/
--------------------------------------------------
volker.tanger@wyae.de PGP Fingerprint
378A 7DA7 4F20 C2F3 5BCC 8340 7424 6122 BB83 B8CB