Re: one liner file update problem on cygwin

2002-03-07 Thread Gyro
"Tanton Gibbs" <[EMAIL PROTECTED]> wrote in message 019201c1c610$decae5e0$81486e0a@brooklyn">news:019201c1c610$decae5e0$81486e0a@brooklyn... > I'm running perl on cygwin and trying to do the following one liner: > > perl -pi -e 'BEGIN{$pwd=`pwd`;} s/^HOME=.*/HOME=$pwd/;' makeinclude > > which wil

one liner file update problem on cygwin

2002-03-07 Thread Tanton Gibbs
I'm running perl on cygwin and trying to do the following one liner: perl -pi -e 'BEGIN{$pwd=`pwd`;} s/^HOME=.*/HOME=$pwd/;' makeinclude which will replace the line HOME=/home/whoever with HOME=(whever I happen to be at the moment) in my makinclude file However, cygwin apparently does not like