zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _pgrep: Add -w on Linux
@ 2017-03-12 10:16 Wieland Hoffmann
  2017-03-13  0:38 ` Eitan Adler
  2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
  0 siblings, 2 replies; 4+ messages in thread
From: Wieland Hoffmann @ 2017-03-12 10:16 UTC (permalink / raw)
  To: zsh-workers; +Cc: Wieland Hoffmann

This was added in procps-ng 3.3.7.
---
 Completion/Unix/Command/_pgrep | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
index 0b7d23d4d..913805bc1 100644
--- a/Completion/Unix/Command/_pgrep
+++ b/Completion/Unix/Command/_pgrep
@@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
      '-q[do not write anything to standard output]'
      '-S[search also in system processes]'
      '-v[negate matching]'
+     '-w[show thred ids instead of pids]'
      '-x[match exactly]'
      '-z[match only in zones]:zone:_zones')
 
@@ -41,7 +42,7 @@ fi
 local optchars
 case "$OSTYPE" in
   linux*)
-    optchars="cflvxdnoPgsuUGt"
+    optchars="cflvxdnoPgsuUGtw"
     ;;
   freebsd*)
     optchars="LSafilnoqvxFGMNPUdgjstu"
-- 
2.12.0


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

* Re: [PATCH] _pgrep: Add -w on Linux
  2017-03-12 10:16 [PATCH] _pgrep: Add -w on Linux Wieland Hoffmann
@ 2017-03-13  0:38 ` Eitan Adler
  2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
  1 sibling, 0 replies; 4+ messages in thread
From: Eitan Adler @ 2017-03-13  0:38 UTC (permalink / raw)
  To: Wieland Hoffmann; +Cc: Zsh hackers list

On 12 March 2017 at 03:16, Wieland Hoffmann <themineo@gmail.com> wrote:
> @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
>       '-q[do not write anything to standard output]'
>       '-S[search also in system processes]'
>       '-v[negate matching]'
> +     '-w[show thred ids instead of pids]'

^ "thread" ?

>       '-x[match exactly]'
>       '-z[match only in zones]:zone:_zones')
>
> @@ -41,7 +42,7 @@ fi
>  local optchars


-- 
Eitan Adler

On 12 March 2017 at 03:16, Wieland Hoffmann <themineo@gmail.com> wrote:
> This was added in procps-ng 3.3.7.
> ---
>  Completion/Unix/Command/_pgrep | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
> index 0b7d23d4d..913805bc1 100644
> --- a/Completion/Unix/Command/_pgrep
> +++ b/Completion/Unix/Command/_pgrep
> @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
>       '-q[do not write anything to standard output]'
>       '-S[search also in system processes]'
>       '-v[negate matching]'
> +     '-w[show thred ids instead of pids]'
>       '-x[match exactly]'
>       '-z[match only in zones]:zone:_zones')
>
> @@ -41,7 +42,7 @@ fi
>  local optchars
>  case "$OSTYPE" in
>    linux*)
> -    optchars="cflvxdnoPgsuUGt"
> +    optchars="cflvxdnoPgsuUGtw"
>      ;;
>    freebsd*)
>      optchars="LSafilnoqvxFGMNPUdgjstu"
> --
> 2.12.0
>



-- 
Eitan Adler


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

* [PATCH v2] _pgrep: Add -w on Linux
  2017-03-12 10:16 [PATCH] _pgrep: Add -w on Linux Wieland Hoffmann
  2017-03-13  0:38 ` Eitan Adler
@ 2017-03-14 19:28 ` Wieland Hoffmann
  2017-03-15  1:34   ` Daniel Shahaf
  1 sibling, 1 reply; 4+ messages in thread
From: Wieland Hoffmann @ 2017-03-14 19:28 UTC (permalink / raw)
  To: zsh-workers; +Cc: Wieland Hoffmann

This was added in procps-ng 3.3.7.
---
 Completion/Unix/Command/_pgrep | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
index 0b7d23d4d..c62b225ff 100644
--- a/Completion/Unix/Command/_pgrep
+++ b/Completion/Unix/Command/_pgrep
@@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid'
      '-q[do not write anything to standard output]'
      '-S[search also in system processes]'
      '-v[negate matching]'
+     '-w[show thread ids instead of process ids]'
      '-x[match exactly]'
      '-z[match only in zones]:zone:_zones')
 
@@ -41,7 +42,7 @@ fi
 local optchars
 case "$OSTYPE" in
   linux*)
-    optchars="cflvxdnoPgsuUGt"
+    optchars="cflvxdnoPgsuUGtw"
     ;;
   freebsd*)
     optchars="LSafilnoqvxFGMNPUdgjstu"
-- 
2.12.0


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

* Re: [PATCH v2] _pgrep: Add -w on Linux
  2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
@ 2017-03-15  1:34   ` Daniel Shahaf
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Shahaf @ 2017-03-15  1:34 UTC (permalink / raw)
  To: Wieland Hoffmann; +Cc: zsh-workers

Thanks for resending, Wieland, but Oliver has already pushed your patch
with the typo amended.

@all, perhaps we should get in the habit of telling patch submitters
when we've pushed their patches?  Wieland isn't the first submitter to
assume unacked means unpushed.

Cheers,

Daniel


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

end of thread, other threads:[~2017-03-15  1:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 10:16 [PATCH] _pgrep: Add -w on Linux Wieland Hoffmann
2017-03-13  0:38 ` Eitan Adler
2017-03-14 19:28 ` [PATCH v2] " Wieland Hoffmann
2017-03-15  1:34   ` Daniel Shahaf

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