Subject: Re: Ignore case in pgrep(1)
To: Jonathan Perkin <jonathan@perkin.org.uk>
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
List: tech-userlevel
Date: 03/11/2005 13:23:30
--3mUi2XG+b+qi09GV
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 10, 2005 at 07:37:04AM +0000, Jonathan Perkin wrote:
+> Hi,
+>=20
+> On a number of occasions in the past I wished pgrep could ignore case,
+> as I've been trying to find a process which I am not entirely sure the
+> name of.  I've been using the attached patch, and am wondering if
+> anyone else would find this useful and worth committing to NetBSD?
+>=20
+> Thanks,
+>=20
+> --=20
+> Jonathan Perkin                                     The NetBSD Project
+> http://www.perkin.org.uk/                       http://www.netbsd.org/

+> Index: pkill.1
+> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+> RCS file: /cvsroot/src/usr.bin/pkill/pkill.1,v
+> retrieving revision 1.8
+> diff -u -r1.8 pkill.1
+> --- pkill.1	14 Feb 2003 15:59:18 -0000	1.8
+> +++ pkill.1	10 Mar 2005 07:29:48 -0000
+> @@ -42,7 +42,7 @@
+>  .Nd find or signal processes by name
+>  .Sh SYNOPSIS
+>  .Nm pgrep
+> -.Op Fl flnvx
+> +.Op Fl filnvx
+>  .Op Fl G Ar gid
+>  .Op Fl P Ar ppid
+>  .Op Fl U Ar uid
+> @@ -107,6 +107,8 @@

You didn't updated pkill(1)'s list of flags, but you want this option to
be available for this command, right?
I like the idea.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--3mUi2XG+b+qi09GV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCMY3CForvXbEpPzQRAoisAJ0TiANQs2pzgfvU5CbBsCDKvwknTACgsiuU
NSA0CdwLthzujBCkKKdILno=
=YxHv
-----END PGP SIGNATURE-----

--3mUi2XG+b+qi09GV--