Xref: utzoo comp.emacs:8707 gnu.emacs:3279 Path: utzoo!utgpu!watserv1!watmath!uunet!mcsun!cernvax!chx400!jywdna From: jywdna@iam.unibe.ch (Camillus Jayewardena) Newsgroups: comp.emacs,gnu.emacs Subject: Re: FORTRAN mode "relabel" wanted Keywords: EMACS, FORTRAN Message-ID: <1990Jul17.154835.19898@chx400.switch.ch> Date: 17 Jul 90 15:48:35 GMT References: <2580@lamont.ldgo.columbia.edu> Sender: news@chx400.switch.ch (USENET News System) Organization: CS Dept., University of Berne, Switzerland Lines: 10 I do not have emacs code that does the relabeling of fortran code. But as I was writing fortran programs some time ago I have written two shell scripts (basically awk stuff) that do what you want. The first one relabels the program so that the labels on "do" lines are in ascending order; The second one relabels so that the labels on "continue" lines are in ascending order. The second one is nicer but takes a longer time. If you are interested please send me e-mail. Camillus Camillus Jayewardena