bug-bash
[Top][All Lists]
Advanced

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

Re: -eq and strings


From: Rob la Lau
Subject: Re: -eq and strings
Date: Mon, 6 Mar 2017 16:31:30 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

On 06-03-17 16:09, Geir Hauge wrote:
> If you're counting milliseconds, pattern matching should be slightly
> faster than your -eq hack.

Without benchmarks, I'll take your word for this.

But this really convinced me:

> See also http://mywiki.wooledge.org/BashFAQ/054

"this method fails if the shell is ksh"

Thanks!

-- 
-- Rob la Lau
--
-- Sysadmin en webdeveloper in ruste
--
--      web : https://ohreally.nl/
--      eml : rob@ohreally.nl
--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]