There is a utility called "qsubst" that implements the Emacs (no flame wars, please) query-substitute functionality at the shell layer. You might want to investigate it. It is available from the NetBSD project (it's included with the OS) and you can check out the cvs directory:
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/textproc/qsubst/README.html It's pretty cool. -jan- -- Jan L. Peterson Semi-Unemployed "Computer Facilitator" http://www.peterson.ath.cx/~jlp/resume.html ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
