Debian Codegraph @

test/character-substitute

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 . test/lib.shscip-shell source . . `test/lib.sh`.
3
4 begin "Substitute ~ with \(ti"
5 scdoc <<EOF | grepscip-shell system . . grep. '\\fIhello\\(ti\\fR' >/dev/nullscip-shell filesystem . . `/dev/null`.
6 test(8)
7
8 _hello~_
9 EOF
10 end 0
11
12 begin "Substitute ^ with \(ha"
13 scdoc <<EOF | grepscip-shell system . . grep. '\\fIhello\\(ha\\fR' >/dev/nullscip-shell filesystem . . `/dev/null`.
14 test(8)
15
16 _hello^_
17 EOF
18 end 0
19
20 begin "Substitute - with \\-"
21 scdoc <<EOF | grepscip-shell system . . grep. 'hello \\-\\-world \\-1 long\\-term' >/dev/nullscip-shell filesystem . . `/dev/null`.
22 test(8)
23
24 hello --world -1 long-term
25 EOF
26 end 0