Saturday, 14 February 2026

paste to stdin of a program

I am using wayland, thus I do

sudo apt install wl-clipboard
wl-paste
wl-paste | xargs echo
wl-paste | my-program
echo hi | wl-copy
and put in .zshrc
alias paste="wl-paste"
alias copy="wl-copy"

Linux is great.

No comments:

Post a Comment

The times 4 5 hundred rule: Calculate private required capital goals fast

 Assume you get 7% capital gain and 3.5 % inflation and 25% tax. Then calculate you required capital with the factor of 38 (1 / (0.07-0.035)...