Commit Graph

31 Commits (e567dc6833527e8c827c35a839e842c1d79e979c)

Author SHA1 Message Date
Vitor Henrique d5c93c019d
sed: add {Free,Net,Open}BSD pages (#11897)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-31 13:58:18 +01:00
pixel 3c944f84c3
sed: split POSIX, GNU and BSD (#9609) 2022-12-13 13:53:24 +10:00
Emily Grace Seville eefe5a6c52
sed: refresh/add pages (#7931) 2022-11-12 21:05:16 +08:00
git-em a48819f190
common/*: replace man.archlinux.org (#7860) 2022-03-09 14:28:57 +10:00
Seth Falco 3e4c519004
*: fix errors reported by languagetool (#6069) 2021-08-15 19:59:09 +02:00
marchersimon 10728f1ab4
multiple pages: normalize `regular expression` instead of `regex`, `regexp` or `pattern` (#5830) 2021-05-10 11:03:12 +02:00
marchersimon e69a9eed35
common/sed: add link (#5534) 2021-03-30 11:59:06 +03: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
Ray Voice 40a910e6cf
sed: add 11q example (#4399) 2020-10-12 22:53:52 +01:00
Marco Bonelli e75baf7d73 sed: minor syntax fix 2019-04-09 09:34:48 +05:30
James O'Beirne 06942171bd sed: get nth line of a file 2019-04-09 09:34:48 +05:30
Marco Bonelli cbe477bf50 sed: fix misleading examples description. (#2685) 2019-01-08 18:28:59 +00:00
Timothée Mazzucotelli 7d23961ac3 sed: Add example to delete lines (#2596) 2018-11-16 19:41:22 +05:30
mira01 10ae4c7573 sed: show usage of a print command (#2154) 2018-06-26 16:19:31 +01:00
Waldir Pimenta a1ceb9d1b6 sed.md: add input to the only example missing it (#992)
* sed.md: add input to the only example missing it

* osx/sed.md: add input to the example missing it
2016-08-08 10:09:34 +03:00
Waldir Pimenta 685b6ea8bd sed: swap extended regex & line pattern examples 2016-04-21 19:13:01 +01:00
Waldir Pimenta 1c76b8ea7b sed: reword last example and add it to the osx version too 2016-04-21 19:11:33 +01:00
Khaja Minhajuddin 4915aa3b8b sed.md: use alternative separators (#806) 2016-04-10 20:18:24 +01:00
Leandro Ostera e22f8087e1 Updates description 2016-03-01 12:54:15 +01:00
Leandro Ostera 7328774d81 Sed: adds replace before matching sample
Something I find myself doing more and more is to match on a line instead of trying to match all I want with `{{find}}`.

So in a file like:

```erl
{ riak_core, [ {
    {riak_ip, "127.0.0.1"},
    %% ...
}, 
   %% ...
]
```

Instead of replacing that ip by doing `sed 's/riak_ip,"127\.0\.0\.1/riak_ip,"$NEW_IP/'`, I do `sed '/riak_ip/s/127\.0\.0\.1/$NEW_IP'`.
2016-02-27 14:23:24 +01:00
Ruben Vereecken 4a52a7006d Formatted sed page 2016-01-21 13:02:00 +01:00
Ruben Vereecken a454ee1a5d Merge branch 'patch-3' of git://github.com/waldyrious/tldr into waldyrious-patch-3
Conflicts:
	pages/common/sed.md
2016-01-21 13:01:04 +01:00
Ruben Vereecken 066582e8ea Formatted all pages according to guidelines. 2016-01-08 09:38:59 +01:00
Amine Hajyoussef 3fe8681e19 consistent markup 2015-12-31 14:11:18 +01:00
Leandro Ostera 1a75ffb92a Update sed.md
Error on the command.
2015-11-23 16:05:25 +01:00
Srinivasan R e4114fa6cc Normalize the final new line
Fixes #310
Some files had no newlines, some had 1 newline and some more than 1 newline.
Normalize them all to have only 1 newline at the end of all files.
2015-10-28 14:03:06 +05:30
Waldir Pimenta a92aec7dc0 restore short option -i per discussion in #293 2015-08-25 00:56:09 +01:00
Waldir Pimenta 0348a644de various fixes and tweaks to sed
- don't use g in all examples
- fix option for extended regex (-E is in grep :))
- spell out the -i option and remove a stray `''` from that command
- use the term "expressions" in the example using -e
2015-08-20 16:59:41 +01:00
Igor Shubovych 27be751478 sed: fix md syntax 2014-05-18 01:12:37 +03:00
James H. Linder 1efb6b906d Adding a line for sed for making multiple replacements in one command. 2014-03-27 14:27:35 -04:00
rprieto f00bf64426 Move pages back into a "pages" folder 2014-03-04 23:28:29 +11:00