in reply to Re: perl - bash script problem
in thread perl - bash script problem
Thanks, Gauravmy $diffFile = "$reportsPath/DiffReport.bash"; open (DIFFBASH, ">$diffFile"); print DIFFBASH "#!/usr/local/bin/bash\n#\n"; print DIFFBASH "cd $wrPath\n"; print DIFFBASH "cvs diff >> $reportsPath/diffReport.txt"; close (DIFFBASH); chmod 0775, $diffFile; # Run the bash file system "./$diffFile";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl - bash script problem
by tachyon-II (Chaplain) on Nov 29, 2007 at 06:15 UTC | |
by megaurav2002 (Monk) on Nov 29, 2007 at 06:20 UTC | |
|
Re^3: perl - bash script problem
by graff (Chancellor) on Nov 30, 2007 at 02:51 UTC |