[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] ping, --count=NUMBER
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-inetutils] ping, --count=NUMBER |
Date: |
Thu, 21 May 2009 18:04:20 +0300 |
Alfred M. Szmidt <address@hidden> ha escrit:
> It would work the same way as POSIXLY_CORRECLY.
OK, then, to make it clear:
1) BSD_ME_HARDER=0
Ping default number of times and exit.
2) BSD_ME_HARDER=1
Ping until user breaks by C-c.
3) BSD_ME_HARDER is undefined
Same as 2)
If that's what you mean, then it's OK with me. The (3) is important to
not break the default behaviour. However the variable name seems
strange to me. Speaking about environment variables, I'd
rather propose, instead of BSD_ME_HARDER, to introduce the PING_COUNT
variable with the following meaning:
1) PING_COUNT=0 or undefined
Ping until user breaks by C-c.
2) PING_COUNT=N, where N is an integer number
Ping that number of times and exit (unless overridden by -c).
How about that?
Regards,
Sergey
- Re: [bug-inetutils] ping, --count=NUMBER, (continued)
- Re: [bug-inetutils] ping, --count=NUMBER, Sergey Poznyakoff, 2009/05/19
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/19
- Re: [bug-inetutils] ping, --count=NUMBER, Sergey Poznyakoff, 2009/05/20
- Re: [bug-inetutils] ping, --count=NUMBER, Jeff Bailey, 2009/05/20
- Re: [bug-inetutils] ping, --count=NUMBER, Sergey Poznyakoff, 2009/05/20
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER, Jeff Bailey, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER, Sergey Poznyakoff, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER,
Sergey Poznyakoff <=
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/22
- Re: [bug-inetutils] ping, --count=NUMBER, Karl Berry, 2009/05/21
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/22
- Re: [bug-inetutils] ping, --count=NUMBER, Karl Berry, 2009/05/22
- Re: [bug-inetutils] ping, --count=NUMBER, Alfred M. Szmidt, 2009/05/23