Re: [9fans] test(1) support for string length (-l) in p9p?

2018-04-10 Thread Kurt H Maier
On Tue, Apr 10, 2018 at 09:28:42AM +0200, dexen deVries wrote:
> the man page of test(1) mentions "-l string" as string length operator
> for -eq, -gt, etc.
> but there seems to be nothing in the plan9port's src/cmd/test.c, nor
> in 9p.io/sources/cmd/test.c
> 
> is there any implementation of this floating around?
> 

Sure, in the research unix releases (e.g. [1]).  No idea why it got
dropped en route to today.  Further: unknown why someone cared enough 
to drop the feature but not enough to fix the man page.

khm

1 - 
https://raw.githubusercontent.com/dspinellis/unix-history-repo/Research-V7-Snapshot-Development/usr/src/cmd/test.c



[9fans] test(1) support for string length (-l) in p9p?

2018-04-10 Thread dexen deVries
the man page of test(1) mentions "-l string" as string length operator
for -eq, -gt, etc.
but there seems to be nothing in the plan9port's src/cmd/test.c, nor
in 9p.io/sources/cmd/test.c

is there any implementation of this floating around?