X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=cp-update.1;h=cd6dc2bd431b55c7da969fadfd0c1a0775422fd7;hb=28d3a18b9de6dfc9de50e2de90d6f09f028b9aa4;hp=f36368d51f0c54227b05daf6fe8c44a02377a39e;hpb=d006aa90386744d0e56ea0b5aec4b31d387a6896;p=carnet-tools-cn.git diff --git a/cp-update.1 b/cp-update.1 index f36368d..cd6dc2b 100644 --- a/cp-update.1 +++ b/cp-update.1 @@ -100,9 +100,8 @@ Insert after the first line that matches given pattern. .TP \fB\-f\fR | \fB\-\-insert\-before\fR \fIpattern\fR Insert before the first line that matches given pattern. -.TP -\fB\-R\fR | \fB\-\-regexp\-match\fR | \fB\-\-regexp\fR -Use regexp mode for line matching. +.PP +Line-matching patterns are PCREs (Perl-compatible regular expressions). .SS Manipulating block marks .TP \fB\-c\fR | \fB\-\-comment\fR \fIstring\fR @@ -167,7 +166,7 @@ the inserted block between customized markers): .RS .Sp .Vb 4 -\& cp-update --regexp --insert-before '' \\ +\& cp-update --insert-before '' \\ \& --comment '' \\ \& gentoo-cn /etc/gentoorc < gentoo-cn.ins .Ve @@ -177,9 +176,9 @@ the same markers as we did when the block was inserted): .RS .Sp .Vb 4 -\& cp-update -r --regexp --insert-before '' \\ -\& --comment '' \\ -\& gentoo-cn /etc/gentoorc +\& cp-update -r --insert-before '' \\ +\& --comment '' \\ +\& gentoo-cn /etc/gentoorc .Ve .RE .\" @@ -210,6 +209,5 @@ and try to send us quality feedback so we could easily locate and correct the problem. .\" .SH "SEE ALSO" -.BR carnet-tools(8), -.BR dpkg-divert(8). +\fBcarnet-tools\fR(7). .\" End