source: git/Singular/singularsurf @ 8d1432e

spielwiese
Last change on this file since 8d1432e was ce12a0, checked in by Hans Schoenemann <hannes@…>, 9 years ago
/bin/rm -> command rm (to allow /usr/bin/rm etc.)
  • Property mode set to 100755
File size: 275 bytes
Line 
1#!/bin/sh
2echo "width=400;" >$1.pic
3echo "height=400;" >>$1.pic
4cat $1 >>$1.pic
5echo "color_file_format = jpg;">>$1.pic
6echo "filename = \"/tmp/surf.jpg\";">>$1.pic
7echo "save_color_image;">>$1.pic
8surf $1.pic
9command rm $1.pic
10display /tmp/surf.jpg
11command rm /tmp/surf.jpg
Note: See TracBrowser for help on using the repository browser.