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";
In reply to Re^2: perl - bash script problem
by megaurav2002
in thread perl - bash script problem
by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |