/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ static char Sccsid[]="@(#)repl.c 3.0 4/22/86"; /* Replace each occurrence of `old' with `new' in `str'. Return `str'. */ repl(str,old,new) char *str; char old,new; { return(trnslat(str, &old, &new, str)); }