26 lines
802 B
Plaintext
26 lines
802 B
Plaintext
|
|
# This file is part of the PD system
|
||
|
|
# Copyright (C) 1998 Ralf Hartmut Gueting, Fachbereich Informatik, FernUniversitaet Hagen
|
||
|
|
|
||
|
|
# This program is free software; you can redistribute it and/or
|
||
|
|
# modify it under the terms of the GNU General Public License
|
||
|
|
# as published by the Free Software Foundation; either version 2
|
||
|
|
# of the License, or (at your option) any later version.
|
||
|
|
|
||
|
|
# This program is distributed in the hope that it will be useful,
|
||
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
# GNU General Public License for more details.
|
||
|
|
|
||
|
|
#
|
||
|
|
#!/bin/sh
|
||
|
|
#
|
||
|
|
# pdshow <file> - previews an PD file using a Postscript previewer
|
||
|
|
#
|
||
|
|
# May 2004, M. Spiekermann
|
||
|
|
|
||
|
|
if { ! pd2ps $1; }; then
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
pdpreview $1 ps $PD_PS_VIEWER &
|