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

Bug#267142: debian-policy: Sections 10.4 and 6.1 are inconsistent (Posix doesn't say what you think it says)



> Having specified them in Build-Depends (or relied on the list of build
> essential packages), I am allowed to expect the Debian behavior of the
> program.

Well, that's certainly an interesting idea.

> So, doesn't this mean that "posh" has a bug, since (I'm told; perhaps
> I'm incorrect) it implements a "test" which does NOT conform to the de
> facto coreutils spec?

It doesn't.  posh's "test" does not currently mirror the behavior of
anything listed below.

coreutils 5.2.1-2
Unary: -[bcdefghknprstuwxzGLOS]
Binary: -nt -ot -ef = != -eq -ne -lt -le -gt -ge -a -o
Other: ! ( )

bash 2.05b-15
Unary: -[abcdefghknoprstuwxzGLNOS]
Binary: -nt -ot -ef = == != < > -eq -ne -lt -le -gt -ge -a -o
Other: ! ( )

dash 0.5.1-3
Unary: -[bcdefghknprstuwxzGLOS]
Binary: -nt -ot -ef = != < > -eq -ne -lt -le -gt -ge -a -o
Other: ! ( )

pdksh 5.2.14-12
Unary: -[abcdefghknoprstuwxzGHLOS]
Binary: -nt -ot -ef = == != -eq -ne -lt -le -gt -ge -a -o
Other: ! ( )

zsh 4.2.1-3
Unary: -[abcdefghknoprstuwxzGLNOS]
Binary: -nt -ot -ef = == != < > -eq -ne -lt -le -gt -ge -a -o || &&
Other: ! ( )

POSIX
Unary: -[bcdefghnprstuwxzLS]
Binary: = != -eq -ne -lt -le -gt -ge



Reply to: