Commit Graph

17 Commits (1352c392bcaf94e6aef2d135878f198e9c9876c3)

Author SHA1 Message Date
Vitor Henrique bcfadedad0
pages*: fix names of operating systems (#12140) 2024-02-01 21:04:38 +01:00
Lena 9ced683c99
style-guide: add guidelines for standard streams; fix remaining pages (#11196)
* readonly, {un,}compress, zbarcam: use proper syntax for IO streams

* style-guide: add guidelines for standard streams

* duckdb, perl: add backticks around stdin and stdout
2023-10-24 06:55:09 +05:30
Nadim Khemir 53ce91d63e
CHANGED: perl page (#10637) 2023-10-22 21:10:24 +02:00
pixel ab7a36fbe6
*: always backquote `stdin`, `stdout` and `stderr` (#9584) 2022-12-04 08:53:34 +01:00
izokina a3d5656a8d
perl: fix -i option description (#8340) 2022-08-12 18:15:51 +05:30
Shawn Allen 918891f311
perl: improve matching pattern example, arg consistency, etc. (#8043)
* perl: improve matching pattern examples

* perl: remove in-place find/replace sans -i'.old'

* perl: nix -0 from multiline find/replace example

* perl: update wording per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: update placeholders per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: update wording per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: update placeholders per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: update placeholders per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: update placeholders per code review

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: add more -e flag markers, tweak wording

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* perl: "print out" → "print"

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>
2022-04-30 12:39:53 +05:30
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