rick <rbugman@erols.com> wrote:
> if [ $4 -gt 0 ];
...
> if the 4th item (should be a 3 if the interface is up) exists and has
> its group id bit set(-g) and if the file descriptor is open and refers
> to a terminal (-t) returns true.
-gt is different from -g and -t. See `help test`.
> I don't understand this piece of code, I would like to.
Ask about it on comp.unix.shell. Post the whole piece of code (or,
better, the URL for it), not just one line.
paul
[Prev in Thread]
Current Thread
[Next in Thread]
Re: set `ping -qc3 xxx.xxx.xxx.xxx 2>/dev/null | grep transmitted`,
Paul Jarc<=