Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
where value of $c is href="/blah/example.html and the value of $b is href="/dir1/dir2/dir2/new.html" when i run the script it dosen't throw an error but when i check the $Replace_html file which /home/dir/replace.html that file is empty , can anyone help me out with this pleasesystem ("sed -e 's/$c/$b/g' $File1 > $Replace_html");
update (broquaint): added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: question on sed
by hardburn (Abbot) on May 15, 2003 at 16:09 UTC | |
by Anonymous Monk on May 15, 2003 at 16:20 UTC | |
by hardburn (Abbot) on May 15, 2003 at 16:27 UTC | |
by halley (Prior) on May 15, 2003 at 16:44 UTC | |
by LameNerd (Hermit) on May 15, 2003 at 16:41 UTC | |
|
Re: question on sed
by broquaint (Abbot) on May 15, 2003 at 16:12 UTC | |
by LameNerd (Hermit) on May 15, 2003 at 16:46 UTC | |
by Anonymous Monk on May 15, 2003 at 16:24 UTC |