Quantcast
Viewing latest article 5
Browse Latest Browse All 6

Answer by John1024 for Can command substitution be nested in variable substitution?

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.

Viewing latest article 5
Browse Latest Browse All 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>