From unknown Sun Jun 22 07:58:06 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12307: cut bug Resent-From: Steve Roe Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Aug 2012 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12307 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 12307@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134625712423744 (code B ref -1); Wed, 29 Aug 2012 16:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 16:18:44 +0000 Received: from localhost ([127.0.0.1]:56158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6kyZ-0006Au-JY for submit@debbugs.gnu.org; Wed, 29 Aug 2012 12:18:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59557) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6kar-0005Qs-Ax for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6kZn-0003dY-MX for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:53:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:44730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZn-0003dU-Ji for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:53:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZm-0001iY-NF for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6kZi-0003ca-SS for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:06 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:57667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZi-0003cM-L6 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:02 -0400 Received: by obhx4 with SMTP id x4so1563860obh.0 for ; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FR2BZ/pYTw/67h9+JAMoeMcj4fbakEjAs14HUr5h7nw=; b=vGKDT+YYlFox0VmXBXlCrqvQYMQRNNO8M8gBy0dn8n7ShT6ISR/F2wgXxr450+LJXJ WLqalaFMO6HHe+nUsvVGcYCx7dM8ye2/pN4AZt+2RLnLUJuSQiudDRrK5AXAgphGJ+nI 5mHSG+xALBW1sFcWtJdRt4IyA/wFnM1z4i295GFCRUSN90bEHdhSTe8s8b++YJBSCxGd KQVElZXces7mQDUx7G1fMcd+gnjitpQZXqlidn47SKsRFm2AbgrxTVzSvNzQL088OxsC We4jEobVJvHz/URldGtV7FH29OqU42Ai/3gVMtTqkItOJXfwx3S5sQkOyfr1tSysw27X xh/g== MIME-Version: 1.0 Received: by 10.60.7.169 with SMTP id k9mr1659781oea.77.1346255581662; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) Received: by 10.76.168.165 with HTTP; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) Date: Wed, 29 Aug 2012 11:53:01 -0400 Message-ID: From: Steve Roe Content-Type: multipart/alternative; boundary=e89a8f83a80bb8cca204c8698d8a X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 29 Aug 2012 12:18:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --e89a8f83a80bb8cca204c8698d8a Content-Type: text/plain; charset=ISO-8859-1 I found a cut bug while I was running on the terminal. I can cut one field and it will display as normal. However when I try and cut multiple fields, it does not. For example this is what I type - "-d: -f2, f3 inputfile.dat". The following message displays - "cut: fields and positions are numbered from 1". Please advise. Thanks! S --e89a8f83a80bb8cca204c8698d8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I found a cut bug while I was running on the terminal. I can cut one field = and it will display as normal. However when I try and cut multiple fields, = it does not. For example this is what I type - "-d: -f2, f3 inputfile.= dat". The following message displays - "cut: fields and positions= are numbered from 1". Please advise. Thanks!

S
--e89a8f83a80bb8cca204c8698d8a-- From unknown Sun Jun 22 07:58:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Steve Roe Subject: bug#12307: closed (Re: bug#12307: cut bug) Message-ID: References: <503E48BC.5060605@redhat.com> X-Gnu-PR-Message: they-closed 12307 X-Gnu-PR-Package: coreutils Reply-To: 12307@debbugs.gnu.org Date: Wed, 29 Aug 2012 16:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1346259242-27000-1" This is a multi-part message in MIME format... ------------=_1346259242-27000-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12307: cut bug which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12307@debbugs.gnu.org. --=20 12307: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12307 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1346259242-27000-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12307-done) by debbugs.gnu.org; 29 Aug 2012 16:53:23 +0000 Received: from localhost ([127.0.0.1]:56214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6lW7-00070e-GY for submit@debbugs.gnu.org; Wed, 29 Aug 2012 12:53:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22751) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6lW3-00070T-DK for 12307-done@debbugs.gnu.org; Wed, 29 Aug 2012 12:53:21 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7TGqDLp017728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 29 Aug 2012 12:52:13 -0400 Received: from [10.3.113.113] (ovpn-113-113.phx2.redhat.com [10.3.113.113]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7TGqCPf024599; Wed, 29 Aug 2012 12:52:12 -0400 Message-ID: <503E48BC.5060605@redhat.com> Date: Wed, 29 Aug 2012 09:52:12 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Steve Roe Subject: Re: bug#12307: cut bug References: In-Reply-To: X-Enigmail-Version: 1.4.4 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD7A012437262C72CA6EAEFF5" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 12307-done Cc: 12307-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.1 (-------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD7A012437262C72CA6EAEFF5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable tag 12307 notabug thanks On 08/29/2012 08:53 AM, Steve Roe wrote: > I found a cut bug while I was running on the terminal. I can cut one fi= eld > and it will display as normal. However when I try and cut multiple fiel= ds, > it does not. For example this is what I type - "-d: -f2, f3 inputfile.d= at". > The following message displays - "cut: fields and positions are numbere= d > from 1". Please advise. Thanks! Your issue is learning the right syntax for calling cut, and not a bug in cut itself. Try using: cut -d: -f2,3 inputfile.dat (notice that specifying multiple fields requires compressing all of the ranges into a single argument, with no space separation). For now I'm closing this bug, although you can continue to reply to it for further discussion. Perhaps that means we should reopen this report if someone is willing to write a documentation patch. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigD7A012437262C72CA6EAEFF5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQPki8AAoJEKeha0olJ0NqbasH/33NR6G9FBY18QmzTUJJTIzb J2oySXwzO3Kb6hPF4HnDnR2+Ata0E1GMpOKT49hPji1pqbAAcjWLSiNcOuBYUjEI 4JF1YxXVXk6wQmcrNJisajQBgQYuHnPw6/+KZy6LMjCO97o2VAa6qncdAb6NDsjM axDhecX2ywFU5+jRb9IANxynp3z5cMxP+JfWJd/Pd6RHILxXtGO+aV8ZRrM5rXYO f8Ok/ll3FNyJD+Ulb+sO1WXFBo9SIg8N0vEyx4eSZ1IakSnbE+OB9u3Pw6mgW4qS SUBIEO/wd/XBBV/hBXNZjupUCIbWb731a0vYcj6oQDeziljyuGHVvEibPWF+Js4= =htna -----END PGP SIGNATURE----- --------------enigD7A012437262C72CA6EAEFF5-- ------------=_1346259242-27000-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 16:18:44 +0000 Received: from localhost ([127.0.0.1]:56158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6kyZ-0006Au-JY for submit@debbugs.gnu.org; Wed, 29 Aug 2012 12:18:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59557) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6kar-0005Qs-Ax for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6kZn-0003dY-MX for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:53:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:44730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZn-0003dU-Ji for submit@debbugs.gnu.org; Wed, 29 Aug 2012 11:53:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZm-0001iY-NF for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6kZi-0003ca-SS for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:06 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:57667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6kZi-0003cM-L6 for bug-coreutils@gnu.org; Wed, 29 Aug 2012 11:53:02 -0400 Received: by obhx4 with SMTP id x4so1563860obh.0 for ; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FR2BZ/pYTw/67h9+JAMoeMcj4fbakEjAs14HUr5h7nw=; b=vGKDT+YYlFox0VmXBXlCrqvQYMQRNNO8M8gBy0dn8n7ShT6ISR/F2wgXxr450+LJXJ WLqalaFMO6HHe+nUsvVGcYCx7dM8ye2/pN4AZt+2RLnLUJuSQiudDRrK5AXAgphGJ+nI 5mHSG+xALBW1sFcWtJdRt4IyA/wFnM1z4i295GFCRUSN90bEHdhSTe8s8b++YJBSCxGd KQVElZXces7mQDUx7G1fMcd+gnjitpQZXqlidn47SKsRFm2AbgrxTVzSvNzQL088OxsC We4jEobVJvHz/URldGtV7FH29OqU42Ai/3gVMtTqkItOJXfwx3S5sQkOyfr1tSysw27X xh/g== MIME-Version: 1.0 Received: by 10.60.7.169 with SMTP id k9mr1659781oea.77.1346255581662; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) Received: by 10.76.168.165 with HTTP; Wed, 29 Aug 2012 08:53:01 -0700 (PDT) Date: Wed, 29 Aug 2012 11:53:01 -0400 Message-ID: Subject: cut bug From: Steve Roe To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=e89a8f83a80bb8cca204c8698d8a X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Aug 2012 12:18:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --e89a8f83a80bb8cca204c8698d8a Content-Type: text/plain; charset=ISO-8859-1 I found a cut bug while I was running on the terminal. I can cut one field and it will display as normal. However when I try and cut multiple fields, it does not. For example this is what I type - "-d: -f2, f3 inputfile.dat". The following message displays - "cut: fields and positions are numbered from 1". Please advise. Thanks! S --e89a8f83a80bb8cca204c8698d8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I found a cut bug while I was running on the terminal. I can cut one field = and it will display as normal. However when I try and cut multiple fields, = it does not. For example this is what I type - "-d: -f2, f3 inputfile.= dat". The following message displays - "cut: fields and positions= are numbered from 1". Please advise. Thanks!

S
--e89a8f83a80bb8cca204c8698d8a-- ------------=_1346259242-27000-1--