Re: OT: Help with sort (and maybe awk or sed)

2017-05-20 Thread rhkramer
On Saturday, May 20, 2017 09:19:07 AM Stefan Monnier wrote: > > I have a need to sort lists of URLs and associated titles formatted as > > > > follows: > >* [[][]] > > > > e.g [[http://www.google.com][Google search]] > > > > I'd like to get a simple sort routine to do that. > > In my quick

Re: OT: Help with sort (and maybe awk or sed)

2017-05-20 Thread Andre Majorel
On 2017-05-20 09:19 -0400, Stefan Monnier wrote: > > I have a need to sort lists of URLs and associated titles formatted as > > follows: > > > >* [[][]] > > > > e.g [[http://www.google.com][Google search]] > > > > I'd like to get a simple sort routine to do that. > > In my quick test, > >

Re: OT: Help with sort (and maybe awk or sed)

2017-05-20 Thread Stefan Monnier
> I have a need to sort lists of URLs and associated titles formatted as > follows: > >* [[][]] > > e.g [[http://www.google.com][Google search]] > > I'd like to get a simple sort routine to do that. In my quick test, sort -t '[' -k 4 seemed to do the trick, Stefan

OT: Help with sort (and maybe awk or sed)

2017-05-20 Thread rhkramer
I have a need to sort lists of URLs and associated titles formatted as follows: * [[][]] e.g [[http://www.google.com][Google search]] I'd like to get a simple sort routine to do that. My first thought (well, actually it's probably the sixth, one of which was trying to get the TWiki devel