File: solvetimes_from_output_lingeling.sh

package info (click to toggle)
cryptominisat 5.11.4%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,432 kB
  • sloc: cpp: 55,148; ansic: 9,642; python: 8,899; sh: 1,336; php: 477; sql: 403; javascript: 173; xml: 34; makefile: 15
file content (7 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/sh

zgrep "\%.*all" -- *out.gz | awk '{print $2}' > solveTimes
zgrep "\% *all" -- *out.gz | awk '{print $1}' | sed 's/:c$//' | sed 's/gz.*/gz/' | sort > solved
ls -- *out.gz | sed 's/gz.*/gz/' | sort > allFiles
zgrep "s UNSATISFIABLE" -- *out.gz | sed 's/:s.*$//' | sed 's/gz.*/gz/' | sort > solvedUNSAT
zgrep "s SATISFIABLE" -- *out.gz   | sed 's/:s.*$//' | sed 's/gz.*/gz/' | sort > solvedSAT