X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-tools-cn.git;a=blobdiff_plain;f=cp-update.1;h=cd6dc2bd431b55c7da969fadfd0c1a0775422fd7;hp=eb8cde166e8fec4877c4dada3903fd88a718fe24;hb=78cf4902f1c46307ce7408229c40f67ecc3552ec;hpb=f98b8bf1105eb129c91f8263555a708ae7523b86 diff --git a/cp-update.1 b/cp-update.1 index eb8cde1..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 .\"