Re: perl -c someScript >someFile

2006-03-24 Thread Mr. Shawn H. Corey
[EMAIL PROTECTED] wrote: Use perl -c someScript | tee file perl -c someScript 2>&1 | tee somefile tee(1) only works with stdout, perl -c sends its output to stderr. -- Just my 0.0002 million dollars worth, --- Shawn "For the things we have to learn before we can do them,

RE: perl -c someScript >someFile

2006-03-23 Thread balan.ranganathan
Use perl -c someScript | tee file Thanks Best regards Bala -Original Message- From: tom arnall [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 1:34 AM To: beginners@perl.org Subject: perl -c someScript >someFile i want to capture to a file the output of perl&#x

Re: perl -c someScript >someFile

2006-03-23 Thread Mr. Shawn H. Corey
Timothy Johnson wrote: It looks like it's using STDERR for output. Try this: perl -c someScript >somefile 2>&1 You can send it there directly: perl -c someScript 2>somefile -- Just my 0.0002 million dollars worth, --- Shawn "For the things we have

RE: perl -c someScript >someFile

2006-03-23 Thread Timothy Johnson
It looks like it's using STDERR for output. Try this: perl -c someScript >somefile 2>&1 -Original Message- From: tom arnall [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 12:04 PM To: beginners@perl.org Subject: perl -c someScript >someFile i wa

perl -c someScript >someFile

2006-03-23 Thread tom arnall
i want to capture to a file the output of perl's '-c' command-line option, as in: perl -c someScript >someFile perl insists on simply dumping the output to the screen. is there a solution to this? thanks, tom arnall north spit, ca -- To unsubscri