Commit c903e6e7 authored by erwan's avatar erwan
Browse files

Fix the read-rif utils so that it reads correctly rif coming from prog with no input.

parent c3dd3b8a
Pipeline #3476 passed with stages
in 7 minutes and 22 seconds
OASISFormat: 0.4
Name: Lutin
Version: 2.43
Version: 2.44
Authors: Erwan Jahier
License: PROP
......@@ -16,12 +16,18 @@ BuildTools: ocamlbuild
PreBuildCommand: make lutin/src/
PostInstallCommand: cp utils/simec_trap $exec_prefix/bin; cp utils/ $exec_prefix/bin; cp utils/lurette $exec_prefix/bin
SourceRepository "master"
Type: git
#PreBuildCommand: make gen_version
Executable lutin
Path: lutin/src
BuildDepends: str,unix,num,rdbg-plugin (>= 1.109),lutin-utils,ezdl,gbddml,polka,camlp4,camlidl
BuildDepends: str,unix,num,rdbg-plugin (>= 1.109),lutin-utils,ezdl,gbddml,polka,camlp4,camlidl,gmp
NativeOpt: -package num # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
Build: true
let str="2.43"
let sha="90957fc"
let str="2.44"
let sha="c3dd3b8"
......@@ -7,8 +7,8 @@ riffile=$1
cat $riffile | \
grep -e '#outs' -e '#step' | \
sed -e 's/True[ \t$]/1 /g' -e 's/true[ \t$]/1 /g' -e 's/t[ \t$]/1 /g' -e 's/T[ \t$]/1 /g' | \
sed -e 's/[ \t]True/1 /g' -e 's/[ \t]true/1 /g' -e 's/[ \t]t/1 /g' -e 's/[ \t]T/1 /g' | \
sed -e 's/[ \t]True/ 1 /g' -e 's/[ \t]true/ 1/g' -e 's/[ \t]t/ 1/g' -e 's/[ \t]T/ 1/g' | \
sed -e 's/False[ \t$]/0 /g' -e 's/false[ \t$]/0 /g' -e 's/f[ \t$]/0 /g' -e 's/F[ \t$]/0 /g' | \
sed -e 's/[ \t]False/0 /g' -e 's/[ \t]false/0 /g' -e 's/[ \t]f/0 /g' -e 's/[ \t]F/0 /g' | \
sed -e 'N; s/#step \([0-9]*\)\([^0-9]*\)\(.*\)#outs\(.*\)/\1 \3 \4/g'
sed -e 's/[ \t]False/ 0/g' -e 's/[ \t]false/ 0/g' -e 's/[ \t]f/ 0/g' -e 's/[ \t]F/ 0/g' | \
sed -e 'N; s/#step \([0-9]*\)\([^0-9]*\)\(.*\)#outs \(.*\)/\1 \3 \4/g'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment