assistance with sed for script

Bill Hughes bhughes at grasshoppernet.com
Sun Aug 29 17:07:35 EDT 1999


Markus -
Try this instead;

#!/bin/sh
# GRASS 5 binary package installation tool
#... [cut]
GPATH=/other/local/grass
sed  "s,/usr/local/grass,$GPATH,g" $GPATH/etc/monitorcap.orig > monitorcap

 This works for bash shell.

Bill Hughes



More information about the grass-user mailing list