[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Text Processing Question



On Fri, Jun 08, 2001 at 01:29:42AM +0100, Colin Watson wrote:
> 
> The shell will do nicely:
> 
> #! /bin/sh -e
> cat >"$1" <<EOF
> DBUSER=$1/$2
> export DBUSER
> EOF
> 
> Error detection is left as an exercise for the reader. :) ('sh -e' is a
> good start, though - the script will terminate if any command in it

Worked like a charm.  Thanks tons.

jdk



Reply to: