[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: >= and <= for string comparison
From: |
alex xmb ratchev |
Subject: |
Re: >= and <= for string comparison |
Date: |
Wed, 18 Jan 2023 09:22:21 +0100 |
On Wed, Jan 18, 2023, 9:21 AM Lawrence Velázquez <vq@larryv.me> wrote:
> On Wed, Jan 18, 2023, at 3:13 AM, alex xmb ratchev wrote:
> > On Wed, Jan 18, 2023, 9:12 AM Lawrence Velázquez <vq@larryv.me> wrote:
> >
> >> On Tue, Jan 17, 2023, at 7:59 PM, Ruiyang Peng wrote:
> >> > It seems that bash's lexical is not so easy to change, so how about
> using
> >> > -eq, -gt, -lt etc like arithmetic?
> >>
> >> Huh? Those operators are already defined to perform arithmetic
> >> comparisons. How could they be used for lexicographic comparisons
> >> too?
> >>
> >> --
> >> vg
> >>
> >
> > in ((
>
> What? Lexicographic comparison in ((...))? What is that even
> supposed to mean?
>
> > and in [[
>
> Er, yeah. That's what has been under discussion this whole time.
> I'm saying [[ x -eq y ]] and friends already have established
> purposes.
>
> --
> vq
>
a o .. k .. sry .. thx
>
- Re: >= and <= for string comparison, (continued)
- Re: >= and <= for string comparison, Peng Yu, 2023/01/16
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/16
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/16
- Re: >= and <= for string comparison, Peng Yu, 2023/01/16
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/17
- Re: >= and <= for string comparison, Koichi Murase, 2023/01/17
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/17
- Re: >= and <= for string comparison, Lawrence Velázquez, 2023/01/18
- Re: >= and <= for string comparison, alex xmb ratchev, 2023/01/18
- Re: >= and <= for string comparison, Lawrence Velázquez, 2023/01/18
- Re: >= and <= for string comparison,
alex xmb ratchev <=
- Re: >= and <= for string comparison, Koichi Murase, 2023/01/18
- Re: >= and <= for string comparison, alex xmb ratchev, 2023/01/18
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/18
- Re: >= and <= for string comparison, Koichi Murase, 2023/01/18
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/18
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/18
- Re: >= and <= for string comparison, Tapani Tarvainen, 2023/01/18
- Re: >= and <= for string comparison, Ruiyang Peng, 2023/01/18
- Re: >= and <= for string comparison, Lawrence Velázquez, 2023/01/18
- Re: >= and <= for string comparison, Peng Yu, 2023/01/18