1 2 3 4 5 6
#!/bin/sh xclip -selection clipboard -o | \ sed -e 's/www.youtube.com/yewtu.be/;s/youtu.be/yewtu.be/' \ -e 's/www.reddit.com/libredd.it/' | \ xclip -selection clipboard