File: mkchanges

package info (click to toggle)
gpsbabel 1.3.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 15,956 kB
  • ctags: 9,083
  • sloc: ansic: 87,514; xml: 13,640; pascal: 6,981; sh: 3,770; makefile: 811; perl: 754; tcl: 74; objc: 7
file content (16 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# cvsps -u
cvsps $* |  awk '
/^Date:/ { 
	logt = "";
	gsub("/", "-");
	split($0, dte, " ");
	
	printf "\n<tr><td class=\"date\">%s</td>", dte[2];
	printf "<td class=\"release\"></td>"
	}
/^Log:/ { gsub("^Log:", ""); inlog = 1 }
/^Members:/ {printf "<td>%s</td></tr>", logt ; inlog = 0; }
{ if (inlog > 0) { logt = logt $0 ;}  }
' | sort -rn | sed "s#<td#\\
  <td#g" | sed "s#<\/tr>#\\
<\/tr>#g"