File: torev

package info (click to toggle)
sc 7.16-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,300 kB
  • ctags: 1,691
  • sloc: ansic: 28,398; yacc: 1,315; makefile: 369; lisp: 99; sed: 4
file content (4 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (5)
1
2
3
4
REVISION=`sed -e '/Revision/!D' -e 's/.*$Revision: \(.*\) $.*/\1/' version.c` 
sed -e s/pname/$name/g -e s/PNAME/$NAME/g \
	-e "s%#LIBDIR#%$LIBDIR%g" \
	-e "s/#REVISION#/$REVISION/" $1