File: getsyms.sh

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (7 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/sh

# This script extracts GDL symbols defined in the input file.

grep '@deffn' $1 | grep '@code' | grep -v '@c ' | sed -e 's/^.*@deffn \([^ ]*\) @code{\([^{ }]*\)}.*$/\2 \1/' | sed -e 's/@@/@/' | grep -v '^zz-' | sort | uniq

exit 0