zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: 5-digit pids in _pids
Date: Mon, 26 Mar 2001 13:51:35 -0500	[thread overview]
Message-ID: <20010326135135.B29679@dman.com> (raw)

I'm going to commit this and the other patch from Michal.

----- Forwarded message from Michal Politowski <mpol@charybda.icm.edu.pl> -----

There's a small problem with this function, preventing it from correctly
completing pids of 5 digits (because there's no space before these in ps
output).

--- /tmp/_pids	Mon Mar 26 19:26:10 2001
+++ /usr/share/zsh/functions/_pids	Mon Mar 26 19:26:52 2001
@@ -14,5 +14,5 @@
 elif [[ "$PREFIX$SUFFIX" = [0-9]# ]]; then
   all=()
-  match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
+  match="(*[[:blank:]]|)${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
 else
   all=(-U)

----- End forwarded message -----


                 reply	other threads:[~2001-03-26 18:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010326135135.B29679@dman.com \
    --to=schizo@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).