Re: [dev] New utility "when"

From: Dimitris Zervas <dzervas_AT_dzervas.gr>
Date: Wed, 11 Dec 2013 19:15:29 +0200

well, you could implement this with shell while loop (while not
(command) do; done), but it's great to have this as utility.
Instead of passing a second argument, you could return zero and and it in shell
when "command" && echo "yup! :D"

On Wed, Dec 11, 2013 at 6:59 PM, Andrew Gwozdziewycz <web_AT_apgwoz.com> wrote:
> On Wed, Dec 11, 2013 at 11:55 AM, Patrick <201009-suckless_AT_haller.ws> wrote:
>> On 2013-12-11 11:31, Andrew Gwozdziewycz wrote:
>>> Maybe one of you will stop laughing long enough to find it useful.
>>
>> So why isn't this a standard unix utility?
>
> I'm certainly not smart enough to know why people do or don't do
> things. Either it's not generally useful, people have done this
> another way with existing tools (and I'm not smart enough to have
> thought of it) or no one in their right mind would ever want to do
> that!
>
> --
> http://apgwoz.com
>
Received on Wed Dec 11 2013 - 18:15:29 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 11 2013 - 18:24:03 CET