cvshistoryfilter.hlp by RJL 94/6/10 This file includes the approximate commands which I used to extract 94sbde history from cvs and sort it by filename and date. (They are not exact - I fixed some field alignment problems and lost some intermediate steps.) To get the initial report, I ran (approximately): cvs -d CVSROOT history -a > ~/bde8/cvshistory.10jun94 which produced a large (83K byte) file, sorted by username, of all commit (Add and Modify) actions on 94sbde's CVS files. I wanted a sort by filename and date. Sort is very tricky and I couldn't get it to sort by field 6 then field 2 (filename and date). So I used awk first to reformat the columns to simplify sorting: The printf statement aligns the columns vertically for readability. awk '{printf("%-26s %1s %-5s %s %s %-8s %21s%s%s \n", $6,$1,$5,$2,$3,$4,$7,$8,$9)}' < ~/bde8/cvshistorymods.10jun94 > ~/bde8/cvshistoryawk.10jun94 I may have used %s instead of %21s%s%s above.) Then I sorted this file with the entire record as sort key: sort ~/bde8/cvshistorysort.10jun94 > ~/bde8/cvshistorysort.11jun94 Then I used awk again to separate files by a blank line: awk '{if ($1!=oldname) print "";oldname=$1;print $0}' < ~/bde8/cvshistorysort.10jun94 > 94sbdehistory.10jun94 (I actually used print "\n" which inserted two lines since I could not get 'print "";' to work above.) I moved the result to /usr/proj3/case/94s523/94sbde/bde_rev_history.10jun94.