Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!xanth!nic.MR.NET!umn-cs!bungia!cimcor!mike From: mike@cimcor.mn.org (Michael Grenier) Newsgroups: comp.unix.questions Subject: Identifier replacesments Keywords: using sed, lex, etc Message-ID: <620@cimcor.mn.org> Date: 15 Dec 88 16:21:14 GMT Organization: Grenier & friends, Forest Lake, MN Lines: 13 Does anyone know a simple shell script of program that will do identifier replacements in a file. I want to rename variables, etc. I could use /lib/cpp but it tends to remove comments and introduce other problems. Programs like sed will match an identifier but it is difficult to replace them without also replacing those longer words which might contain the identifier in question. Any ideas? -Mike Grenier mike@cimcor.mn.org uunet!rosevax!cimcor!mike bungia!cimcor!mike