File: delete.txtar

package info (click to toggle)
cliphist 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: sh: 35; makefile: 5
file content (33 lines) | stat: -rw-r--r-- 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
stdin in-good
exec cliphist store

stdin in-bad-1
exec cliphist store
stdin in-bad-2
exec cliphist store
stdin in-bad-3
exec cliphist store

stdin delete-query
exec cliphist delete

exec cliphist delete-query 'bad-3'
exec cliphist delete-query 'i dont exist'

exec cliphist list
cmp stdout out

-- in-good --
im a test
-- in-bad-1 --
im a bad-1 test
-- in-bad-2 --
im a bad-2 test
-- in-bad-3 --
im a bad-3 test

-- delete-query --
2	x
3	x
-- out --
1	im a test