[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: gschem's stdout
Hello
Ales, please make gschem not generate anything on stdout and accept
-o - (like output to stdout).
I am processing a schematics with a script:
gschem -o bla.ps -s ../utils/print_hacked.scm twister.sch 2>/dev/null
and gschem still outputs something to stdout:
"Loading schematic [twister.sch]"
This way I must create a temporary file instead of feeding the output
directly to postscript postprocessor that fixes orientation:
#!/bin/bash
sed -e '1s/^%!/%!PS-Adobe-2.0\
%%Orientation: Landscape\
%%EndComments/'
If asomeone breaks the compilation halfway, the temporary file stays haunting
in the system. It's a bit annoying ;-)
Cl<