bug-bash
[Top][All Lists]
Advanced

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

Re: test -lt inconsistent about white space


From: Robert Elz
Subject: Re: test -lt inconsistent about white space
Date: Sun, 29 Oct 2023 13:26:03 +0700

    Date:        Sat, 28 Oct 2023 22:49:13 -0700
    From:        Paul Eggert <eggert@cs.ucla.edu>
    Message-ID:  <bf467373-76cd-4c11-b9b7-76d5720f7d2e@cs.ucla.edu>

  | I don't know what bosh is.

bosh is a modernised (updated) variant of the SysVR4 Bourne shell
I believe - it used to be maintained by Joerg Schilling (and still
contains bugs).

  | PS. As I understand it, POSIX allows all the behaviors described above, 
  | so this is not a POSIX conformance issue.

Posix only expects the relevant operators to apply to integers.  Anything
other than a (signed) string of digits that any implementation accepts would
be an extension to what is required.  That is allowed by POSIX, but any
application that uses it would be non-conforming.

kre




reply via email to

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