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

Re: Re: OT: Script to add line to file if it doesn't exist




> if I only execute one command on true/false conditions, I prefer:
> command && react_true || react_false
> 

Although this generally works it is not correct:

If 'react_true' fails for some reason then 'react_false' is also executed.

--Jasper.



Reply to: