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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marina Lorente Evangelio <maloev <at> teleco.upv.es>
Subject: bug#9777: closed (Re: bug#9777: CUT)
Date: Mon, 17 Oct 2011 16:25:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#9777: CUT

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 9777 <at> debbugs.gnu.org.

-- 
9777: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9777
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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

[Message part 3 (message/rfc822, inline)]
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!




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.