Commit Graph

11 Commits (e70f7b5d9d0d6916ed4103a87d2ec53524beb0d0)

Author SHA1 Message Date
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00
Waldir Pimenta caebe85050 perl: minor tweaks to command descriptions (#3554) 2019-11-12 08:50:23 +00:00
Zachary Sherwin ec2213a34a perl: add PCRE one liner example (#3129) 2019-09-24 15:00:09 +02:00
pxgamer f2a8784dde perl: add link to homepage 2019-05-31 19:47:40 +01:00
Waldir Pimenta efbf0cc51e perl: tweak the -0 example 2017-05-22 19:47:03 +05:30
Waldir Pimenta dc9547925f perl: swap -M example with -0, for multiline regex
For completeness: the -0 option is actually used to specify the input record separator (as an octal number).
Without it, the record separator is the newline character, i.e. the files are processed line by line
(which doesn't allow find-replace expressions that include newlines to work).

According to the [documentation](http://perldoc.perl.org/perlrun.html#Command-Switches),
using plain `-0` is not guaranteed to have the effect of parsing the entire file,
because if the file does contain characters with octal value equal to the parameter passed to (or implied by) the -0 option,
these characters will be treated as line breaks.
However, if the value exceeds 377<sub>8</sub> (i.e. 255), it won't be matched to characters on the file.
777 is the preferred convention within that exceptional range, as the highest value that keeps to 3 octal digits.

Here we're forgoing such details and using -0 anyway, since for most cases this will be enough.
2017-05-22 19:47:03 +05:30
Waldir Pimenta c3146ede2a perl: improve descriptions of -pie examples 2017-04-26 10:32:58 +01:00
morrme 8b85207f35 perl: add pie example per issue #1239 2017-04-26 10:32:58 +01:00
Waldir Pimenta 1524aa95da perl: various minor tweaks
- use generic names in the descriptions, since they can be directly matched to the corresponding tokens
- move the -e example to appear right before the -M -e example
- make description of -M -e example more explicit (to match the plain -e example)
2016-11-05 19:17:40 +00:00
Assem Attia b9bb46e6de perl: add page (#1142) 2016-11-05 19:14:19 +00:00