Re: How to sort ignoring digits? (was: Contacts printing)
- From: Rodolfo Medina <rodolfo.medina@xxxxxxxxx>
- Date: Thu, 08 Nov 2007 15:42:33 +0100
Rodolfo Medina <rodolfo.medina@xxxxxxxxx> [071106 06:42]:
In the documentation of `sort' I couldn't find the possibility of ignoring
digits. I have a document that contains names and phone numbers and I
wish to sort it by names. The `-k' option doesn't seem to help because
names and numbers are not in definite fields.
"Douglas A. Tutty" <dtutty@xxxxxxxxxxxxx> writes:
Rodolfo, you'll need to send us a sample couple of lines EXACTLY as they
appear in your file so that someone who knows sort can help.
You'll also need to tell us EXACTLY what you want the file to look like
when all is said and done. What do you want to do with this?
Here are a few lines from the file:
3938269241 320192481 Stan Laurel
3939424701 0815605311 Oliver Hardy
800151611 800822051 Harpo Marx
ABC Travel 0111111111 33811111111
Acade;Paolo;;; 335111111 Paolo Acade
Acade;Pasquale;;; 335122211 Pasquale Acade
I wish it to be sorted by letters (i.e. by names) - and also eliminate those
ugly semicolons!
Thanks indeed
Rodolfo
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: How to sort ignoring digits? (was: Contacts printing)
- From: Andrew Sackville-West
- Re: How to sort ignoring digits? (was: Contacts printing)
- References:
- Re: Contacts printing
- From: Rodolfo Medina
- Re: Contacts printing
- From: Kevin Mark
- How to sort ignoring digits? (was: Contacts printing)
- From: Rodolfo Medina
- Re: How to sort ignoring digits? (was: Contacts printing)
- From: Russell L. Harris
- Re: How to sort ignoring digits? (was: Contacts printing)
- From: Douglas A. Tutty
- Re: Contacts printing
- Prev by Date: Re: what's your favourite FLOSS?
- Next by Date: Sound Card Driver on DELL D630?
- Previous by thread: Re: How to sort ignoring digits? (was: Contacts printing)
- Next by thread: Re: How to sort ignoring digits? (was: Contacts printing)
- Index(es):
Relevant Pages
|