[Gllug] little bash/sed scripting problem

Simon Jakesch simon.jakesch at proxima-tech.com
Thu May 20 18:10:50 UTC 2004


Hi,

I have a quick question someone should be able to help me
with fairly quickly. Basically if I execute the bashscript
below sed doesn't seem to be executed. However if I run the
sed command line in a normal shell it works (so the syntax
is correct). Why is it that sed isn't executing fro within
this script?



#!/bin/bash
FILE=EventDatabaseListener.xml
cp $FILE temp.temp
echo "sed -e 's/$2/$3/' temp.temp > $FILE"
echo "rm -f temp.temp"
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list