File: string_input.fqtest

package info (click to toggle)
fq 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 106,624 kB
  • sloc: xml: 2,835; makefile: 250; sh: 241; exp: 57; ansic: 21
file content (65 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# TODO: test for jq -R . <(echo -ne 'a\nb') <(echo c) produces "a" and "bc"
/a:
a
b
/c:
c
$ fq -R . a c
"a"
"b"
"c"
$ fq -Rs . a c
"a\nb\nc\n"
$ fq -nRs input a c
"a\nb\nc\n"
$ fq -nRs inputs a c
"a\nb\nc\n"
$ fq -R
"a"
"b"
"c"
stdin:
a
b
c
$ fq -nR input
"a"
stdin:
a
b
c
$ fq -nR inputs
"a"
"b"
"c"
stdin:
a
b
c
$ fq -Rs
"a\nb\nc\n"
stdin:
a
b
c
$ fq -nRs input
"a\nb\nc\n"
stdin:
a
b
c
$ fq -nRs inputs
"a\nb\nc\n"
stdin:
a
b
c
$ fq -R . missing
exitcode: 2
stderr:
error: missing: no such file or directory
$ fq -Rs . missing
""
exitcode: 2
stderr:
error: missing: no such file or directory