File: mkclasslist

package info (click to toggle)
tcm 2.20+TSQD-6
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 22,768 kB
  • sloc: ansic: 78,527; sh: 3,618; makefile: 1,345; perl: 753; yacc: 558; lex: 257
file content (8 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/sh
# make a list of header file path names sorted on file name.

[ ${TCM_HOME} ] || {
   echo TCM_HOME is not set. Bailing out.; exit 1
}

find $TCM_HOME/src -type f -name '*.h' -print | awk -F'/' '{printf("%s %s\n", $0, $NF)}' | sort +1 -2 | awk '{print $1}'