On Tue, 22 Nov 2016, David Fleck wrote:

> this may be of no help to you at all, but the following string does what
> you ask on a short unsorted text file of addresses on my machine:
>
> cat filename | sed 's/^$/x/' | tr '\n' '+' | tr 'x' '\n' | sed '/^+$/d'
> | sort |  tr '+' '\n'

David,

   This almost works. There are a couple of blocks that are mangled; the end
portion of a line is separated from the beginning and separately sorted.
I'll look into this.

Thanks,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to