Re: Sort Problem!

From: John L (jl_at_lammtarra.notthisbit.fslife.co.uk)
Date: 08/25/05


Date: Thu, 25 Aug 2005 15:24:54 +0100


<beholder_67@yahoo.com> wrote in message news:1124977355.764993.111990@g43g2000cwa.googlegroups.com...
> Hello! I would like to sort a huge ascii file like this:
>
> Example:
>
>
> 412 five zero six eleven
> 540 rolex
> 076 Munich
> 090 I-2000-18
> 079 verfuegbar
>
> 027 ident
> 100 Allan Collins
> 104 Edward E. Smith
> 331 Readings
>
> 027 M:S89-004
> 100 B.J. Grosz
> 104 K. Sparck Jones
> 108 B.L. Webber
> 331 Readings in Natural Language Processing
> 425 1986
> 412 Los Altos
>
> My problem is the blank line between the 32434 blocks of data. (Its
> bibliographic data...)
>
> Any comments? Thanky you very much!
>

It is not really clear what you want. Sorting by block? Each block sorted
separately? Something else? Can you show us how you want the example data
posted above to be sorted.

-- 
John.


Relevant Pages

  • Re: Sort Problem!
    ... I would like to sort a huge ascii file like this: ... > 412 five zero six eleven ... > 540 rolex ... > 331 Readings in Natural Language Processing ...
    (comp.unix.shell)
  • Re: Daily Averages
    ... Don Guillett ... Microsoft MVP Excel ... If i dont have any reading it´s equal to zero. ... this column is equal to the days when the readings ...
    (microsoft.public.excel.misc)
  • Re: Daily Averages
    ... If i dont have any reading it´s equal to zero. ... Sub GetDailyAverage() ... Loop While Not c Is Nothing And c.Address firstAddress ... Column B is the readings column. ...
    (microsoft.public.excel.misc)
  • Sort Problem!
    ... 076 Munich ... 079 verfuegbar ... 027 ident ... 331 Readings in Natural Language Processing ...
    (comp.unix.shell)
  • Re: FILE Operations
    ... This is in response to Emmanuel Delahaye's comments: ... memset is needed to set the positions to zero otherwise for the 2nd, 3rd, ... readings you'll mix it with prior readings. ...
    (comp.lang.c)