[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

> I have a need to sort lists of URLs and associated titles formatted as 
> follows:
>    * [[<URL1>][<Title1>]]
> 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,


Reply to: