Open changkun opened 3 years ago
Version: 11cba613840b0d0e76dc2ea6d4ec7cc5f23daf88
11cba613840b0d0e76dc2ea6d4ec7cc5f23daf88
$ echo test > x.txt $ cat x.txt test $ cat x.txt | xclip -in -selection clipboard $ xclip -out -selection clipboard -t image/png test $ xclip -out -selection clipboard -t image/png [1] 619206 segmentation fault (core dumped) xclip -out -selection clipboard -t image/png
Version 0.13:
$ echo test > x.txt $ cat x.txt test $ cat x.txt | xclip -in -selection clipboard $ xclip -out -selection clipboard -t image/png test $ xclip -out -selection clipboard -t image/png test
Explaination:
The -t option does not work with -in when specifying inputs. An input by default as text but can be read as image/png TARGET.
-t
-in
image/png
Expect:
$ echo test > x.txt $ cat x.txt test $ cat x.txt | xclip -in -selection clipboard $ xclip -out -selection clipboard -t image/png Error: target image/png not available $ xclip -out -selection clipboard -t image/png Error: target image/png not available
Version:
11cba613840b0d0e76dc2ea6d4ec7cc5f23daf88
Version 0.13:
Explaination:
The
-t
option does not work with-in
when specifying inputs. An input by default as text but can be read asimage/png
TARGET.Expect: