Re: strange errormessage from script run in cron

2006-04-21 Thread Bjørge Solli
On Thursday 20 April 2006 23:31, John W. Krahn wrote: > Bjørge Solli wrote: > > On Thursday 20 April 2006 12:01, John W. Krahn wrote: > >>Bjørge Solli wrote: > >>>I have this as a part of my script: > >>> > >>>$ncfile = `ls -1 $mersea_cat | head -1`; > >>>print $ncfile; > >>> > >>>It prints

Re: strange errormessage from script run in cron

2006-04-20 Thread John W. Krahn
Bjørge Solli wrote: > On Thursday 20 April 2006 12:01, John W. Krahn wrote: >>Bjørge Solli wrote: >>>I have this as a part of my script: >>> >>>$ncfile = `ls -1 $mersea_cat | head -1`; >>>print $ncfile; >>> >>>It prints the desired first file in $mersea_cat, but _before_ that the ls >>>comm

Re: strange errormessage from script run in cron

2006-04-20 Thread Chad Perrin
On Thu, Apr 20, 2006 at 01:34:18PM +0200, Bjørge Solli wrote: > > Still wondering why that errormessage was printed though, but not very > important any more. I'm curious, as well. If someone knows why that happened, I'd like to know. -- Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]

Re: strange errormessage from script run in cron

2006-04-20 Thread Bjørge Solli
On Thursday 20 April 2006 12:01, John W. Krahn wrote: > Bjørge Solli wrote: > > I have this as a part of my script: > > > > $ncfile = `ls -1 $mersea_cat | head -1`; > > print $ncfile; > > > > It prints the desired first file in $mersea_cat, but _before_ that the ls > > command prints an err

Re: strange errormessage from script run in cron

2006-04-20 Thread John W. Krahn
Bjørge Solli wrote: > I have this as a part of my script: > > $ncfile = `ls -1 $mersea_cat | head -1`; > print $ncfile; > > It prints the desired first file in $mersea_cat, but _before_ that the ls > command prints an errormessage to stderr: > > ls: write error: Broken pipe Why not jus

strange errormessage from script run in cron

2006-04-20 Thread Bjørge Solli
I have this as a part of my script: $ncfile = `ls -1 $mersea_cat | head -1`; print $ncfile; It prints the desired first file in $mersea_cat, but _before_ that the ls command prints an errormessage to stderr: ls: write error: Broken pipe I do not get this error when I run the command/sc