Modified version of previous demo. Clipbard is cleaned in different
way.. The same result, xsel version doesn't work

```
# MAIN
pbcopy </dev/null # clear clipboard
while :; do
   TXT="$(pbpaste)"
   if [ -n "$TXT" ]; then
      echo "$TXT"
      pbcopy </dev/null # clear clipboard
   else
      sleep 0.1 # sleep 100ms
   fi
done
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854092

Title:
  pbcopy & pbpaste for Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xsel/+bug/1854092/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to