Delete obsolete Unicode version 15.1.0
[sunny256-utils.git] / ccc
bloba593257c4c9bfba549d99d51cf4930cd54ac17f2
1 #!/usr/bin/env perl
3 #=======================================================================
4 # ccc
5 # File ID: 39f48fea-5d37-11df-a444-90e6ba3022ac
6 # Mer oversiktlig cvs stat
7 #=======================================================================
9 use strict;
10 use warnings;
12 my ($FileLine, $WorkLine, $RepLine) =
13 ( "", "", "");
15 open(FP, "cvs -n stat 2>/dev/null |") || die("Cannot open cvs pipe");
17 while (<FP>) {
18 chomp;
19 if (/^\?/) {
20 print "$_\n";
21 } else {
22 if (/^File: /) {
23 $FileLine = $_;
25 if (/^\s+Working/) {
26 $WorkLine = $_;
28 if (/^\s+Repository/) {
29 $RepLine = $_;
30 unless ($FileLine =~ /Up-to-date$/) {
31 print "----\n$FileLine\n$WorkLine\n$RepLine\n";
32 $FileLine = "";
33 $RepLine = "";
34 $WorkLine = "";
40 #### End of file ccc ####