emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#12307: closed (cut bug)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12307: closed (cut bug)
Date: Wed, 29 Aug 2012 16:54:02 +0000

Your message dated Wed, 29 Aug 2012 09:52:12 -0700
with message-id <address@hidden>
and subject line Re: bug#12307: cut bug
has caused the debbugs.gnu.org bug report #12307,
regarding cut bug
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12307: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12307
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: cut bug Date: Wed, 29 Aug 2012 11:53:01 -0400 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

--- End Message ---
--- Begin Message --- Subject: Re: bug#12307: cut bug Date: Wed, 29 Aug 2012 09:52:12 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0
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 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!

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.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]