#!/bin/sed -f # .f to .f90 converter # initial c or C changed to ! # continuation marker changed to " &" on end of previous line # MJR 24/9/95 1{ h d n } /^ [^ ]/{ s/^ [^ ]/ / x s/$/ \&/ x } x s/^[cC*]/\!/ ${ p x }