17 Jan
2005
17 Jan
'05
16:03
Hello, On Jan 8 00:48 Jim wrote (shortened):
a2ps -o - <ascii-file >file.ps
that is, a2ps delivers its output to stdout, as its docs say.
Putting this in a file fails:
#!/bin/bash a2ps -o -
that is, a2ps sends its output to the printer when the above file is invoked like this:
script <ascii-file >file.ps
I cannot reproduce it. For me (using SUSE LINUX 9.2) it works as you expect it to work. Perhaps there is a strange environment setting for the user who runs the script? Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/