Re: Printing output to file

2004-11-13 Thread Chasecreek Systemhouse
On Sat, 13 Nov 2004 14:48:06 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > > > $ perl AAA.pl > /pathto/name_of_file > > > > > > is it possible adding "print file function" to the > > > script Maybe this example would be of benefit? http://backpan.cpan.org/authors/id/S/SN/SNEEX/accts.sx R

Re: Printing output to file

2004-11-12 Thread Stephen Liu
Hi Renqilong, Tks for your advice. --- Renqilong <[EMAIL PROTECTED]> wrote: > > Instead of using following command printing output > to > > a file; > > > > $ perl AAA.pl > /pathto/name_of_file > > > > is it possible adding "print file function" to the > > script > > > > 1) If YES > > Please

Re: Printing output to file

2004-11-12 Thread Renqilong
On Sat, 13 Nov 2004 11:42:13 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi folks, > > Instead of using following command printing output to > a file; > > $ perl AAA.pl > /pathto/name_of_file > > is it possible adding "print file function" to the > script > > 1) If YES > Please advise

Printing output to file

2004-11-12 Thread Stephen Liu
Hi folks, Instead of using following command printing output to a file; $ perl AAA.pl > /pathto/name_of_file is it possible adding "print file function" to the script 1) If YES Please advise how to make it. 2) Can I add following bash syntax to the script user=$(whoami); now=$(date +%Y.%m.%d.%