and the display_report.pl looks like this:
#!/d01/applptch/ptchora/iAS/Apache/perl/bin/perl
use CGI;
CGI::ReadParse();
$debug = 0; # Set this to 1 to see the form fields values entered.
$install_top = "really";
$perf_user = "haha.";
I want to change the $install_top to the pwd returned in the shell script. Put I keep getting
sed: command garbled: 5c $install_top = "/TST/cxtool";
This works fine in Linux. Not sure why its not working in Solaris. Please help!!
\ is special to the shell, so you need \\ so sed will see \
replacement text must be on next line and sed needs to see the newline chars too, at least my sed needs this...
Thanks for all your replies. Wasnt aware of the policy. Will keep it in mind. Anyways..the solutionby Perderabo worked..but I was wondering if using the bash shell is necessary?