<div dir="ltr">I actually like this. xclip makes it possible via its -l option, but I'm not sure if other platforms have this. <div><br></div><div>pass blah | while read line; do xclip -l 1 -selection clipboard -quiet <<<"$line"; done<br></div></div>