>>>>> "Rich" == Rich Shepard <[email protected]> writes:
Rich> I've a few files of names and addresses; each block is Rich> separated by two blank lines. I'd like to sort them alphabetically Rich> by the first line. 'sort' does not seem to do this as I don't see Rich> a record separator, only a field separator. Rich> Is there an emacs function that will do this? My knowledge of Rich> awk suggests that it's not the appropriate tool. There surely is Rich> some linux tool do do this job, yes? Rich> I don't know perl, but could write a python script to do this. I have a fool-proof solution to problems like this. I sit down and think hard enough to solve it. Try that, see if it helps. ;-) How about converting to lines, sort the lines, convert back to blocks. Believe in yourself. -- Russell Senior, President [email protected] _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
