File: extract_litsel_array.sh

package info (click to toggle)
eprover 2.6%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,288 kB
  • sloc: ansic: 331,111; csh: 12,026; python: 10,178; awk: 5,825; makefile: 461; sh: 389
file content (10 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

egrep '   ".?Select[a-zA-Z0-9]*",|   "NoSelection",|   "NoGeneration",' che_litselection.c | sed -e 's/,//' | awk '{printf "%-40s:\n", $0}'>bla1.tmp

egrep '^   .?Select[a-zA-Z0-9]*,' che_litselection.c | sed -e 's/,/",/' | awk '{print "\"" $1}'>bla2.tmp

paste -d" " bla1.tmp bla2.tmp
rm bla1.tmp bla2.tmp