From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 20 04:24:01 2014 Received: (at submit) by debbugs.gnu.org; 20 Jun 2014 08:24:01 +0000 Received: from localhost ([127.0.0.1]:53760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxu76-00063h-Eo for submit@debbugs.gnu.org; Fri, 20 Jun 2014 04:24:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51075) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxu73-00063Q-1x for submit@debbugs.gnu.org; Fri, 20 Jun 2014 04:23:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxu6q-0005ju-9b for submit@debbugs.gnu.org; Fri, 20 Jun 2014 04:23:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxu6q-0005jq-5u for submit@debbugs.gnu.org; Fri, 20 Jun 2014 04:23:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxu6j-0007Gj-Ce for bug-coreutils@gnu.org; Fri, 20 Jun 2014 04:23:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxu6c-0005aP-JT for bug-coreutils@gnu.org; Fri, 20 Jun 2014 04:23:37 -0400 Received: from nm4.bullet.mail.bf1.yahoo.com ([98.139.212.163]:26197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxu6c-0005YY-Dm for bug-coreutils@gnu.org; Fri, 20 Jun 2014 04:23:30 -0400 Received: from [66.196.81.173] by nm4.bullet.mail.bf1.yahoo.com with NNFMP; 20 Jun 2014 08:23:29 -0000 Received: from [98.139.212.212] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 20 Jun 2014 08:23:29 -0000 Received: from [127.0.0.1] by omp1021.mail.bf1.yahoo.com with NNFMP; 20 Jun 2014 08:23:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 556666.87985.bm@omp1021.mail.bf1.yahoo.com Received: (qmail 86044 invoked by uid 60001); 20 Jun 2014 08:23:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1403252609; bh=X/WCYZHIduR7evL6i5/fn96Me5qIaPmDGMssFI5j8+E=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=HTb7IHo5reku4WmRslzVFJZ1xtLCi3AdgBh5c2MrdC/rbz+BBYEUArGOuoidImpYX2SbwL2L4blGZ0oYJYK4d3pUwh72eo0UD3LfwX0Z6nOzVP+oE95avRZdsL1xPHOaPU4bQDqndpPGZ7sW+CE4/1VN4KYmZdc1EHjQO8N6NS0= X-YMail-OSG: 2CbBsiAVM1laqTLgNzVuWrg_nT8X5Wk_fV1lx_AqnSVVIu9 fdeSvvzbDK_SaiIENu4uL_di9P7.rwe.eK9Vs4ef0O0Wrj.w3TI.8fNr09IS jo99.q5aJ79CBHxuJNNkO63X80nNdR4eH4fwUE4MTF1n0LgND.A8OW9MO7aE ByISKuX2u7CWRnOxOzaAGDpVB2GUMFLTKyAK4wSwdHjR1DH4KjYUfGohwvtP dqG08Bvp1QNldQ.oBcNAvYFaASN.g9DVjRsXyQbJ6k_bA2TIaGBgi7pDT0bn BPIoGBhxvNDGRQtkUar5sinzAs1NygHqwcxU3bzYUa.mYQleRjts9TstQpbX 79cKxOQzrIOsfQKfLM89gQ4GyOIEhzE_Z81vLjF64FuEegjPJUZx0h.NXEob iZ1qRVsf7vw0wOaTRJ59yTUPwiEONbC50KmKYRA4Qv7hoUaz.6ViPyWblOzb exti7_PFUOH9dTgqAOD8dQJVgFKz1oR_KvgLfAhuB81S_vlL.6yHITBUguH9 lux8326ot1CxalguDTTWOa0F5xorTR3w1b6otu_Djw4VzCfMIpYpXpPhlwGr cTyf19vrIlrOHTXIZq8WxHwQy0yHxQl7p0HN7.Bm.3zWMpnPN5WSPpk9eKnI vdbnmN1SkQ0uhmbPhbRllebE.n0a8Y.96FGx.9gTM5JiilUOqOhzsUInr6FF 4.Q.hasqyf7uCRS5uPahtvlZKVnIJNQ-- Received: from [71.59.228.22] by web161506.mail.bf1.yahoo.com via HTTP; Fri, 20 Jun 2014 01:23:29 PDT X-Rocket-MIMEInfo: 002.001, MS5ydW4gZmlyZWZveCAoYW0gdXNpbmcgbGludXggbWludCAxNyBpbiB2aXJ0dWFsIG1hY2hpbmUgdmJveCkgdmVyc2lvbiAyOC4wCgoyLnN0YXJ0IHh0ZXJtCjMucHMgLWUgfCBncmVwIGZpcmVmb3ggfCBjdXQgLWYgMgp0aGlzIHNob3VsZCBiZSB0aGUgZXF1aXZhbGVudCBvZiBwcyAtQyBmaXJlZm94IC1vIHBpZD0KYWN0dWFsOgrCoDIzNjYgP8KgwqDCoMKgwqDCoMKgIDAwOjAyOjUzIGZpcmVmb3gKZXhwZWN0ZWQ6CsKgMjM2NgoKwqAKLS0tLS0tLS0tLS0tLQpKaW0gTWljaGFlbHMKSm1pY2hhZTNAeWFob28BMAEBAQE- X-Mailer: YahooMailWebService/0.8.191.1 Message-ID: <1403252609.29638.YahooMailNeo@web161506.mail.bf1.yahoo.com> Date: Fri, 20 Jun 2014 01:23:29 -0700 From: Jim Michaels Subject: bug in cut, doesn't work normally with -f To: "bug-coreutils@gnu.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-537478627-480026457-1403252609=:29638" X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Jim Michaels List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) ---537478627-480026457-1403252609=:29638 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 1.run firefox (am using linux mint 17 in virtual machine vbox) version 28.0= =0A=0A2.start xterm=0A3.ps -e | grep firefox | cut -f 2=0Athis should be th= e equivalent of ps -C firefox -o pid=3D=0Aactual:=0A=A02366 ?=A0=A0=A0=A0= =A0=A0=A0 00:02:53 firefox=0Aexpected:=0A=A02366=0A=0A=A0=0A-------------= =0AJim Michaels=0AJmichae3@yahoo.com=0AJimM@RenewalComputerServices.com=0Ah= ttp://RenewalComputerServices.com=0Ahttp://JesusnJim.com (my personal site,= has software)=0A---=0AIEC Units: Computer RAM & SSD measurements, microsof= t disk size measurements (note: they will say GB or MB or KB or TB when it = is IEC Units!):=0A[KiB] [MiB] [GiB] [TiB]=0A[2^10B=3D1,024^1B=3D1KiB]=0A[2^= 20B=3D1,024^2B=3D1,048,576B=3D1MiB]=0A[2^30B=3D1,024^3B=3D1,073,741,824B=3D= 1GiB]=0A[2^40B=3D1,024^4B=3D1,099,511,627,776B=3D1TiB]=0A[2^50B=3D1,024^5B= =3D1,125,899,906,842,624B=3D1PiB]=0ASI Units: Hard disk industry disk size = measurements:=0A=0A[kB] [MB] [GB] [TB]=0A[10^3B=3D1,000B=3D1kB]=0A[10^6B=3D= 1,000,000B=3D1MB]=0A[10^9B=3D1,000,000,000B=3D1GB]=0A[10^12B=3D1,000,000,00= 0,000B=3D1TB]=0A[10^15B=3D1,000,000,000,000,000B=3D1PB] ---537478627-480026457-1403252609=:29638 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
1.run firefox (am using linux= mint 17 in virtual machine vbox) version 28.0
2.sta= rt xterm
3.ps -e | grep firefox | cut -f 2
this should be the equivalent of ps -C firefox -o pid=3D=
actual:
&nbs= p;2366 ?        00:02:53 firefox<= /div>
expected:<= /span>
 2366
 
-------------
Jim Michaels
Jmichae3@yahoo.com
JimM@RenewalComputerServices.= com
http://<= a style=3D"" class=3D"" rel=3D"nofollow" target=3D"_blank" href=3D"http://r= enewalcomputerservices.com/">RenewalComputerServices.com
http://JesusnJim.com (my personal site, has = software)
---
IEC Units: = Computer RAM & SSD measurements, microsoft disk size measurements (note: they will = say GB or MB or KB or TB when it is IEC Units!):
[KiB] [MiB] [Gi= B] [TiB]
[2^10B=3D1,024^1B=3D1KiB]
[2^2= 0B=3D1,024^2B=3D1,048,576B=3D1MiB]
[2^30B=3D1,024^= 3B=3D1,073,741,824B=3D1GiB]
[2^40B=3D1,024^4B=3D1,= 099,511,627,776B=3D1TiB]
[2^50B=3D1,024^5B=3D1,125= ,899,906,842,624B=3D1PiB]
SI Units: Hard disk indu= stry disk size measurements:
[kB] [MB] [GB]= [TB]
[10^3B=3D1,000B=3D1kB]
[10^6B=3D1,000,000B=3D1MB]
[10^9B=3D1,000,00= 0,000B=3D1GB]
[10^12B=3D1,000,000,000,000B=3D1TB]<= br style=3D"" class=3D"">[10^15B=3D1,000,000,000,000,000B=3D1PB]

---537478627-480026457-1403252609=:29638-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 20 08:40:55 2014 Received: (at 17816) by debbugs.gnu.org; 20 Jun 2014 12:40:55 +0000 Received: from localhost ([127.0.0.1]:53859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxy7d-0005bf-VQ for submit@debbugs.gnu.org; Fri, 20 Jun 2014 08:40:54 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:41635) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxy7T-0005b8-Nv; Fri, 20 Jun 2014 08:40:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBADkrpFNtTNc2/2dsb2JhbAANTINfxC8BgRyEeAEBAQQyAUYQCw0BBQUJJQ8CRgYNAQcBAYhDq2mfMReOQzMHhEMBA6Fnj3o Received: from unknown (HELO [192.168.1.79]) ([109.76.215.54]) by mail2.vodafone.ie with ESMTP; 20 Jun 2014 13:40:33 +0100 Message-ID: <53A42BC0.80701@draigBrady.com> Date: Fri, 20 Jun 2014 13:40:32 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Jim Michaels Subject: Re: bug#17816: bug in cut, doesn't work normally with -f References: <1403252609.29638.YahooMailNeo@web161506.mail.bf1.yahoo.com> In-Reply-To: <1403252609.29638.YahooMailNeo@web161506.mail.bf1.yahoo.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17816 Cc: 17816@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 17816 notabug close 17816 stop On 06/20/2014 09:23 AM, Jim Michaels wrote: > 1.run firefox (am using linux mint 17 in virtual machine vbox) version 28.0 > > 2.start xterm > 3.ps -e | grep firefox | cut -f 2 > this should be the equivalent of ps -C firefox -o pid= > actual: > 2366 ? 00:02:53 firefox > expected: > 2366 cut defaults to tab field delimiters, which you would change with -d ' ' Note the _possible_ leading space are going to be problematic there so you'd be better with something like: ps - e | awk '/firefox/{print $1}' Though your already presented command is probably most efficient/accurate: ps -C firefox -o pid= thanks, Pádraig. From unknown Tue Jun 24 22:40:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Jul 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator