projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
use syscall for doing syswrite stuff -- more portable?
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.2
/
util
/
repl.c
Commit
Line
Data
7c9c5d18
1
static char Sccsid[] = "@(#)repl.c 1.2 %G%";
5bda4123
JL
2
/*
3
Replace each occurrence of `old' with `new' in `str'.
4
Return `str'.
5
*/
6
7
repl(str,old,new)
8
char *str;
9
char old,new;
10
{
11
return(trnslat(str, &old, &new, str));
12
}