[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error in script



On Wednesday 25 January 2006 20:10, Jon  Miller wrote:
<...>
> LOCSAV="/usr/local/sop"
> if [ -e $(ls -l $LOCSAV/*.ide) ]
> it comes up with an error, can some lend a hand in fixing this?

Why make it so complicated?
And what was, the exact, error message?
What shell are you using?

Try:

if [ -e $LOCSAV/*.ide ]

... it works here, with bash.

BTW, please set your list mail to text only. Your mailer's sending text, HTML 
and an error message.

Thanks.
All the best.

-- 
Robert "roach" Spencer
Pietermaritzburg
South Africa



Reply to: