Comment by emmelaich
4 hours ago
You could also use the inbuilt substitution mechanism:
$ parameter='fisholdbits'
$ echo ${parameter/old/new}
fishnewbits
4 hours ago
You could also use the inbuilt substitution mechanism:
$ parameter='fisholdbits'
$ echo ${parameter/old/new}
fishnewbits
No comments yet
Contribute on Hacker News ↗