source: git/Singular/surfex @ e4e36c

spielwiese
Last change on this file since e4e36c was 0ebb922, checked in by Hans Schönemann <hannes@…>, 15 years ago
*keilen/labs: simplified git-svn-id: file:///usr/local/Singular/svn/trunk@11136 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100755
File size: 376 bytes
Line 
1#!/bin/bash
2surfex_dir="$1"
3shift
4tmp_dir=/tmp
5std_eqn="x^3+y^3+z^3+1-0.25*(x+y+z+1)^3"
6allargs=""
7if [ -z $1 ] ; then 
8    allargs="-e $std_eqn"
9else 
10    allargs=$*
11fi
12echo "$PWD" | sed -e 's/ /\\ /g' > $tmp_dir/tmp.$$.txt
13read surfexstartdir <$tmp_dir/tmp.$$.txt
14/bin/rm $tmp_dir/tmp.$$.txt
15cd "$surfex_dir"
16java -jar surfex.jar -d "$surfexstartdir" -t "$tmp_dir" $allargs
Note: See TracBrowser for help on using the repository browser.