9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] test(1) support for string length (-l) in p9p?
@ 2018-04-10  7:28 dexen deVries
  2018-04-10  8:08 ` Kurt H Maier
  0 siblings, 1 reply; 2+ messages in thread
From: dexen deVries @ 2018-04-10  7:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] test(1) support for string length (-l) in p9p?
  2018-04-10  7:28 [9fans] test(1) support for string length (-l) in p9p? dexen deVries
@ 2018-04-10  8:08 ` Kurt H Maier
  0 siblings, 0 replies; 2+ messages in thread
From: Kurt H Maier @ 2018-04-10  8:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-10  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10  7:28 [9fans] test(1) support for string length (-l) in p9p? dexen deVries
2018-04-10  8:08 ` Kurt H Maier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).