Lot of times, I copy the text but before pasting want to remove a word or make some other changes or add “wget” to the URL, quite common. So, I came up with this alias
replace='echo $(xclip -i)|sed 's/text//'|xclip -o'
and this depends on xlip, which you can install with
dnf install xclip
- 2020/08/30 Warn when battery is low
- 2020/08/23 Some good find alias.
- 2020/08/16 Books menu with bash
- 2020/07/26 Pygmentize Styles
- 2020/04/20 scripting – performance improvement with file open