simple/waste/patchperl

15 lines
217 B
Plaintext
Raw Permalink Normal View History

1998-02-07 23:40:14 +01:00
perl=`which perl`
if [ $# -ne 2 ]
then
echo "Usage $0 source target" >&2
exit 1
fi
if [ -z "$perl" ]
then
echo "$0: cannot find perl binary" >&2
exit 1
fi
sed -e "s,@@@perl@@@,$perl," < $1 > $2
1998-09-17 12:33:11 +02:00
chmod +x $2
1998-02-07 23:40:14 +01:00
exit 0