Skip to content

Commit

Permalink
update onecube filtering command, fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
Qianqian Fang committed Feb 25, 2020
1 parent 36c4f5f commit acef8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/onecube/run_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

../../src/bin/mmc -n 20 -f onecube.inp -s onecube -D M | sed -e 's/^M/1/g' -e 's/^B/0/g' -e 's/P/2/g'| sed '$d' > mov.txt
../../src/bin/mmc -n 20 -f onecube.inp -s onecube -D MA | sed -e 's/^[A-Z] //g' | sed '$d' > ad.txt
../../src/bin/mmc -n 20 -f onecube.inp -s onecube -G -1 -D M | grep '^M' | sed -e 's/^M/1/g' -e 's/^B/0/g' -e 's/P/2/g'| sed '$d' > mov.txt
../../src/bin/mmc -n 20 -f onecube.inp -s onecube -G -1 -D MA | grep '^[A-Z]' | sed -e 's/^[A-Z] //g' | sed '$d' > ad.txt

0 comments on commit acef8db

Please sign in to comment.