File: Remote_dump.sh

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (12 lines) | stat: -rwxr-xr-x 234 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# dump remote HID communication

echo '
	MakeGC(1)
	Ready()
	MakeGC(2)
	MakeGC(3)
	MakeGC(4)
' | pcb-rnd --gui remote $1  | grep -v "^[A-Z]:" > out/${1%%.pcb}.remote
rm -f out/${1%%.pcb}.remote.gz
gzip out/${1%%.pcb}.remote