On Tue, Oct 30, 2001 at 07:42:30PM -0500, Matej Cepl wrote:
> On Wed, 31 Oct 2001, Doug Kearns wrote:
> 
> > You could replace the awk invocation with +'/^$/+1'
> 
> Thanks for the information. May I ask you another question regarding awk,
> please? My wife is a linguist and she would for some of her research
> retrograde sort (i.e., sorting by words taken from the other end), like
> this. Unsorted set of words:
> 
> pine
> mutt
> netscape
> kmail
> 
> should be sorted in this set:
> 
> pine
> netscape
> kmail
> mutt
> 

<snip>

rev filename | sort | rev

Regards,
Doug

Reply via email to