1) I think it has to do with the fact that -d is ambiguous between being
the usual XToolkit option for DISPLAY and being a tool-specific option for >> delete.
2) --delete works
You are right that -d is a bad option name for an X program.
In any case, I am testing --delete and it doesn't do anything at all.
xsel --delete --primary
xsel --delete --clipboard
It works for me:
$ xsel -ip <<< "THis is a test"
$ xsel -p
THis is a test
$ xsel -p --delete
$ xsel -p
$
1) I think it has to do with the fact that -d is ambiguous between being
the usual XToolkit option for DISPLAY and being a tool-specific option for >> delete.
2) --delete works
You are right that -d is a bad option name for an X program.
In any case, I am testing --delete and it doesn't do anything at all.
xsel --delete --primary
xsel --delete --clipboard
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 00:51:00 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,186 |