9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kurt H Maier <khm@sciops.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] test(1) support for string length (-l) in p9p?
Date: Tue, 10 Apr 2018 01:08:01 -0700	[thread overview]
Message-ID: <20180410080801.GA82771@wopr> (raw)
In-Reply-To: <CAJUT6o58=Ysk8RMbvbEsn39cpW04RkjEz351GQfROxTc7Et+9g@mail.gmail.com>

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



      reply	other threads:[~2018-04-10  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10  7:28 dexen deVries
2018-04-10  8:08 ` Kurt H Maier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180410080801.GA82771@wopr \
    --to=khm@sciops.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).