[EMAIL PROTECTED] env-ren]# perl -e 'open(STDOUT, ">/tmp/x"); print "XYZ\n" ' [EMAIL PROTECTED] env-ren]# cat /tmp/x XYZ
probabil o sa veri sa deskizi fisierul cu 'open(STDOUT, ">>/tmp/x") PM Some things can't be explained, but only experienced ----- Original Message ----- From: "Remus Anca" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 08, 2004 1:38 PM Subject: [rlug] perl output > se poate face cumva intr-un script perl, ca sa redirectionez toate > mesajele ce le afisaza in mod normal pe ecran, > catre un fisier ( sa modific standard output ) > > in afara de solutia > script.pl >> $fisier_log > > care nu imi merge daca lansez asta dintr-un script bash ... sau imi > scapa mie ceva > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 10/6/2004 --- Detalii despre listele noastre de mail: http://www.lug.ro/
