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

Re: Shell script anomaly



begin  Sean 'Shaleh' Perry  quotation:

> I could be wrong but I think the if is checking whether ps returned
> successfully or not.

I don't think so. It should be checking the return code of the final
command in the pipe, which in this case is grep.

Craig

Attachment: pgp9yHWYMJCVW.pgp
Description: PGP signature


Reply to: