Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
8cd6e1c6
Commit
8cd6e1c6
authored
Oct 12, 2012
by
Alexandre Duret-Lutz
Browse files
* src/tgbatest/kv.test: Rewrite the sed command more portably.
parent
08175025
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tgbatest/kv.test
View file @
8cd6e1c6
...
...
@@ -50,5 +50,8 @@ check '"G1"U"GG" && "FF"'
..
/
ltl2tgba
-
KV
-
R3
-
RIS
>
out
\
'G("P_1.p2" <-> (F"P_1.p3" & ("P_0.p3" | (X"P_1.CS" U "P_1.p2")))) U G"P_1.p2"'
x
=
`sed -n '/APre/{s/.*APrec=\[\([^]]*\)\].*/\1/p;q}' out | tr ' ' '\n' | wc -l`
x
=
`sed -n '/APrec/{
s/.*APrec=\[\([^]]*\)\].*/\1/p
q
}' out | tr ' ' '\n' | wc -l`
test
"
$x
"
=
4
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment