r99: minor version update
authorDamir Dzeko <Damir.Dzeko@CARNet.hr>
Tue, 14 Mar 2006 20:23:53 +0000 (20:23 +0000)
committerDamir Dzeko <Damir.Dzeko@CARNet.hr>
Tue, 14 Mar 2006 20:23:53 +0000 (20:23 +0000)
changelog.CARNet
cp-update
cp-update.1

index 55cbd84..2b8e94f 100644 (file)
@@ -1,10 +1,10 @@
-carnet-tools-cn (2.5.2) sarge; urgency=low
+carnet-tools-cn (2.6) sarge; urgency=low
 
   * cp-update: ispravljen propust u sigurnosnoj provjeri prilikom 
       generiranja prazne datoteke nakon brisanja bloka koji je 
       predstavljao jedini sadrzaj datoteke
 
 
   * cp-update: ispravljen propust u sigurnosnoj provjeri prilikom 
       generiranja prazne datoteke nakon brisanja bloka koji je 
       predstavljao jedini sadrzaj datoteke
 
- -- Damir Dzeko <ddzeko@srce.hr>  Tue, 07 Mar 2006 22:35:37 +0100
+ -- Damir Dzeko <ddzeko@srce.hr>  Mon, 13 Mar 2006 07:18:56 +0100
 
 carnet-tools-cn (2.5.1) sarge; urgency=low
 
 
 carnet-tools-cn (2.5.1) sarge; urgency=low
 
index 4ae4213..01bfe48 100755 (executable)
--- a/cp-update
+++ b/cp-update
@@ -35,7 +35,7 @@ sub DEBUG () { 0 };
 #
 my ($ProgramName, $UsageLong, $UsageShort, $VERSION);
 
 #
 my ($ProgramName, $UsageLong, $UsageShort, $VERSION);
 
-$VERSION = '2.0';
+$VERSION = '2.1';
 
 # Looks nicer without the slashes and dots
 ($ProgramName = $0) =~ s!.*/!!; # strip dir
 
 # Looks nicer without the slashes and dots
 ($ProgramName = $0) =~ s!.*/!!; # strip dir
index cd6dc2b..b8cd11b 100644 (file)
@@ -1,5 +1,5 @@
 .\" Copied from from Pod::Man template\r
 .\" Copied from from Pod::Man template\r
-.\" Wed, 23 Mar 2005 11:51:08 +0100\r
+.\" Wed, 14 Mar 2006 21:15:00 +0100\r
 .\"\r
 .\" Standard preamble:\r
 .\" ======================================================================\r
 .\"\r
 .\" Standard preamble:\r
 .\" ======================================================================\r
@@ -38,7 +38,7 @@
 .if n .na\r
 .\"
 .IX Title "cp-update 1"
 .if n .na\r
 .\"
 .IX Title "cp-update 1"
-.TH cp-update 1 "March 2005" CARNet "CARNet Packaging Tools"
+.TH cp-update 1 "March 2006" CARNet "CARNet Packaging Tools"
 .SH NAME\r
 cp-update \- versatile line-based file updating tool\r
 .\"
 .SH NAME\r
 cp-update \- versatile line-based file updating tool\r
 .\"
@@ -81,15 +81,15 @@ block marking and file handling.
 Remove entry \fIpackage\fR from \fIfile\fR. Default is to add lines \r
 from stdin.\r
 .TP\r
 Remove entry \fIpackage\fR from \fIfile\fR. Default is to add lines \r
 from stdin.\r
 .TP\r
+\fB\-x\fR | \fB\-\-change\fR\r
+Modify existing block, or add it if it does not exist but the begin \r
+mark can be found. Does basically the same as regular insert without\r
+\-\-allow\-multiple but on other way (in-place). Thus those two options\r
+are mutually exclusive.\r
+.TP\r
 \fB\-m\fR | \fB\-\-allow\-multiple\fR\r
 Allow multiple blocks of the same type. By default, old blocks are \r
 replaced with the new one.\r
 \fB\-m\fR | \fB\-\-allow\-multiple\fR\r
 Allow multiple blocks of the same type. By default, old blocks are \r
 replaced with the new one.\r
-.TP\r
-\fB\-h\fR | \fB\-\-help\fR\r
-Print usage reference and exit.\r
-.TP\r
-     \fB\-\-version\fR
-Print title, version, copyright message, and exit.\r
 .SS Placement control\r
 .TP\r
 \fB\-t\fR | \fB\-\-insert\-on\-top\fR\r
 .SS Placement control\r
 .TP\r
 \fB\-t\fR | \fB\-\-insert\-on\-top\fR\r
@@ -139,6 +139,13 @@ anew and replaces the old by renaming it to target name.
 \fB\-n\fR | \fB\-\-no\-close\fR\r
 Do not close and reopen file when editing it in place.\r
 Slightly optimized version of the above.\r
 \fB\-n\fR | \fB\-\-no\-close\fR\r
 Do not close and reopen file when editing it in place.\r
 Slightly optimized version of the above.\r
+.SS Support modes\r
+.TP\r
+\fB\-h\fR | \fB\-\-help\fR\r
+Print usage reference and exit.\r
+.TP\r
+     \fB\-\-version\fR
+Print title, version, copyright message, and exit.\r
 .\"
 .SH "EXIT STATUS"
 Upon successful execution of given operation, program returns 
 .\"
 .SH "EXIT STATUS"
 Upon successful execution of given operation, program returns