If you don't want to create a variable, then there are other ways to perform string substitution:
$ echo "$(xclip -o -selection clipboard | sed 's/copi/knott/')"Here's a string I just knotted.
If you don't want to create a variable, then there are other ways to perform string substitution:
$ echo "$(xclip -o -selection clipboard | sed 's/copi/knott/')"Here's a string I just knotted.