File: listvers.sh

package info (click to toggle)
saods9 7.3.2%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,044 kB
  • ctags: 21,414
  • sloc: cpp: 66,406; tcl: 60,491; ansic: 19,507; sh: 9,996; xml: 1,375; makefile: 892; perl: 68
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 }'