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

Re: [HS] qqun peut-il m'aider pour un script bash ??



On mer, jan 09, 2002 at 08:11:55 +0100, MadCoder wrote:
> > C'est plutôt :
> > if [ $ret -eq 0 ]
> > et pas :
> > if [ ret -ne 0 ]
> et puis c'est même -ne 1 parce que il y aura la ligne du "grep prog" ...

C'est pourquoi il vaut mieux faire un "grep [p]rog" ...

Olivier
-- 
It would be illogical to kill without reason.
		-- Spock, "Journey to Babel", stardate 3842.4



Reply to: