sorting (using sort/sed/awk/whatever)

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Mon Aug 20 00:13:37 AEST 1990


In article <13492 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> In article <MONTNARO.90Aug5102632 at spyder.crd.ge.com> montanaro at crdgw1.ge.com (Skip Montanaro) writes:
> > In article <13485 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> > > Surely you jest.  You're asking for an artificial intelligence program here.
> > I don't know. The following short shell script seems to do what Luke wanted
    [ sorts by last part of newsgroup name ]
> foo.c++.bugs would be collected with other *.bugs, not with other c++ groups.

Hmmm. Perhaps remove the tail from *.misc, then collect foo.bar.* under
foo.bar whenever the latter exists. Does this do the trick?

---Dan



More information about the Comp.unix.questions mailing list