Unfortunately that didn't make a difference.

Jim Kissel wrote:
> 
> 
> Leo wrote:
>> I've got a shell script that calls a program and pipes its output to 
>> grep, i.e.
>>
>> #!/bin/bash
>> ....
>> program | grep -v "remaining\s*$"
>> ....
>>
>> When I run the script this works fine (i.e. no lines output ending in 
>> remaining). However if I set the script to run using anacron then I 
>> always get an email with loads of lines with "remaining" on the end of 
>> them. I've tried loads of things to attempt to debug it, but to no 
>> avail. Can anyone help?
>>
> set $PATH just after #!/bin/bash to what ever your local environment has 
> it set to.
> 
> YMMV
> 

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to