- this prevents man from using a unicode sequence for them
- which then allows search to work properly
Closes #11645
}
# quote "bare" minuses in the output
$d =~ s/([^\\])-/$1\\-/g;
- # handle single quotes first on the line
- $d =~ s/^(\s*)\'/$1\\(aq/;
+ # replace single quotes
+ $d =~ s/\'/\\(aq/g;
# handle double quotes first on the line
$d =~ s/^(\s*)\"/$1\\(dq/;
print $d;
foreach my $e (@examples) {
$e =~ s!\$URL!https://example.com!g;
$e =~ s/\-/\\-/g;
+ $e =~ s/\'/\\(aq/g;
print " curl $e\n";
}
print ".fi\n";