GNU bug report logs - #9777
CUT

Previous Next

Package: coreutils;

Reported by: Marina Lorente Evangelio <maloev <at> teleco.upv.es>

Date: Mon, 17 Oct 2011 16:20:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9777 in the body.
You can then email your comments to 9777 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#9777; Package coreutils. (Mon, 17 Oct 2011 16:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marina Lorente Evangelio <maloev <at> teleco.upv.es>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 17 Oct 2011 16:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marina Lorente Evangelio <maloev <at> teleco.upv.es>
To: bug-coreutils <at> gnu.org
Subject: CUT
Date: Mon, 17 Oct 2011 16:30:20 +0200
Hello, as i am not sure if you know spanish i will write in English.

I am a studente os Telecommunications and I am trying to use cut in a  
shell that become this
Nadal,Rafa

into this:
Rafa Nadal

But I have not clear the use of cut.

Please write to me (in spanish if possible)and try to help me, I would  
be very pleased with you. Thank's a lot!





Added tag(s) notabug. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Mon, 17 Oct 2011 16:25:01 GMT) Full text and rfc822 format available.

Reply sent to Eric Blake <eblake <at> redhat.com>:
You have taken responsibility. (Mon, 17 Oct 2011 16:25:02 GMT) Full text and rfc822 format available.

Notification sent to Marina Lorente Evangelio <maloev <at> teleco.upv.es>:
bug acknowledged by developer. (Mon, 17 Oct 2011 16:25:02 GMT) Full text and rfc822 format available.

Message #12 received at 9777-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Marina Lorente Evangelio <maloev <at> teleco.upv.es>
Cc: 9777-done <at> debbugs.gnu.org
Subject: Re: bug#9777: CUT
Date: Mon, 17 Oct 2011 10:23:10 -0600
tag 9777 notabug
thanks

On 10/17/2011 08:30 AM, Marina Lorente Evangelio wrote:
> Hello, as i am not sure if you know spanish i will write in English.
>
> I am a studente os Telecommunications and I am trying to use cut in a
> shell that become this
> Nadal,Rafa
>
> into this:
> Rafa Nadal
>
> But I have not clear the use of cut.
>
> Please write to me (in spanish if possible)and try to help me, I would
> be very pleased with you. Thank's a lot!

Sorry that I can't reply in Spanish.  Meanwhile, you are asking for 
something that cut cannot do.  Per POSIX, cut may not reorder fields; if 
you want to reorder fields, then you have to use a program designed for 
that, such as awk:

$ echo 'Nadal,Rafa' | awk -F, '{print $2 " " $1}'
Rafa Nadal

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 Nov 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.