-i | --insert-after x Insert after this/matching line.
-f | --insert-before x Insert before this/matching line.
- -R | --regexp-match Use regexp mode for line matching.
- Manipulating block marks:
# Operation defaults
$InsertRemove = DO_INSERT;
$Placement = APPEND_AT_END;
+$RegexpMatch = 1;
$Comment = '#';
$CommentEnd = '';
$MatchLine = '';
$Placement = INSERT_ON_TOP;
}
elsif (/^-R$/ || /^--regexp(?:-match|-mode)?$/) {
- $RegexpMatch = 1;
+ $RegexpMatch = 1; # it's the default
}
elsif (/^-h$/ || /^--help$/) {
die $UsageLong;