File: listvers.sh

package info (click to toggle)
saods9 3.0.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 86,868 kB
  • ctags: 82,021
  • sloc: ansic: 663,637; tcl: 111,403; cpp: 52,727; sh: 27,784; makefile: 6,177; asm: 3,355; lex: 2,890; ada: 1,637; pascal: 1,621; xml: 1,221; yacc: 883; f90: 84; perl: 82; python: 33; fortran: 17; ruby: 13; sed: 12; php: 11
file content (9 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
#! /bin/sh
#
# This script extracts version information from all the source files.
# Run this script in the top-level directory of the source tree.
#

grep Revision: `find . -type f -print` |
  sed -e 's,^./,,' -e 's,:[^ ]*, ,' |
  awk '/[1-9]\.[1-9]/ { printf "%-20s %s\n",$1,$3 }'