Y
Hacker News
new
|
ask
|
show
|
jobs
by
emmelaich
54 days ago
You could also use the inbuilt substitution mechanism:
$ parameter='fisholdbits' $ echo ${parameter/old/new} fishnewbits