Commit graph

307 commits

Author SHA1 Message Date
CosmicHorror
b5768a7a4e
Rename --string-mode to --fixed-strings (#192)
* Rename `--string-mode` to `--fixed-strings`

* Clarify `--fixed-strings` help text
2023-05-16 20:25:29 -05:00
CosmicHorror
caf1244672
Change how all shell variants are expressed (#190) 2023-05-13 12:38:02 -05:00
CosmicHorror
ce7d602d9f
Replace structopt with clap v4 (#189)
* Replace `structopt` with `clap` v3

* Update clap to v4

* Wire up completions to use `clap`

* Add `.debug_assert()` test for CLI parser
2023-05-11 23:43:47 -05:00
CosmicHorror
c737e3f5eb
Switch atty for is-terminal (#188) 2023-05-11 22:40:47 -05:00
CosmicHorror
f2e63dfc56
Freshen up README (#187)
* Switch installation instructions to repology badge

* Format benchmark commands
2023-05-11 19:36:18 -05:00
CosmicHorror
27c217a43e
Improve error message for failed replacements (#186) 2023-05-11 00:53:57 -05:00
micnncim
b6ea084dc9
Use --exec option for fd in README.md (#61)
* Use --exec option for fd in README.md

* Switch `fd` to use multi exec

---------

Co-authored-by: CosmicHorror <CosmicHorrorDev@pm.me>
2023-05-10 23:42:10 -05:00
Ulrich Petri
9cb2eea57f
Fix man page -f flag help text (#181)
The help text of the `-f` flag in the man page had some superfluous (presumably) copy / paste left overs stuck to itself.
2023-05-10 23:08:50 -05:00
CosmicHorror
c4a50a2b8f
Fix warnings and clippy lints (#185)
* Fix `cargo check` warnings

* Placate clippy

* Invert conditional
2023-05-10 00:22:22 -05:00
CosmicHorror
9d1f97bc97
Add editor config file matching rustfmt config (#184) 2023-05-10 00:12:54 -05:00
CosmicHorror
f52e96e8ec
memmap -> memmap2 (#183) 2023-05-08 20:56:51 -05:00
CosmicHorror
14307b9d09
cargo update (#182) 2023-05-08 20:56:36 -05:00
Gregory
ac76b2d897
Merge pull request #143 from skrattaren/fix-path-in-publish-action
Fix paths to release binary in "publish" action
2022-04-01 13:56:34 -04:00
Gregory
3a9759a081
Merge pull request #148 from hexagonrecursion/patch-1
Doc: nitpick: `--` has no special meaning to shells
2022-04-01 13:56:17 -04:00
Andrey Bienkowski
654e23bbd6
Nitpick: a flag can start with - too 2022-01-02 09:00:29 +00:00
Andrey Bienkowski
43b00fa43e
Doc: nitpick -- has no special meaning to shells
The shell (e.g. bash) does not interpret your `argv` - deciding which arguments to interpret as flags or whether your program even supports flags is entirely up to you.
2022-01-02 08:37:14 +00:00
Nikolaj Šujskij
a67124b461 Fix paths to release binary in "publish" action 2021-10-08 15:31:24 +03:00
Gregory
4ccc52203a
Merge pull request #126 from Linus789/fix_recursive_preview
Fix recursive preview (show file path)
2021-05-07 20:58:47 -04:00
Linus789
0b11f3e84a Fix recursive preview (show file path) 2021-05-07 18:59:29 +02:00
Gregory
f0e396157b
Merge pull request #115 from SimplyDanny/follow-symlink-when-writing
Fix #94: Do not replace symlink with output file
2021-05-05 22:28:42 -04:00
Gregory
9ab3372026
Merge pull request #124 from Linus789/fix_tests
Fix tests
2021-05-05 22:27:35 -04:00
Linus789
2b3b201c0a Fix test for replace_into_stdout, since color was added 2021-05-06 00:42:58 +02:00
Linus789
7d73f9f2ba Do not print out path in preview 2021-05-06 00:04:05 +02:00
Gregory
bc0a45031a
Merge branch 'master' of github.com:chmln/sd 2021-05-02 19:04:02 -04:00
Gregory
6f58914ccc
Cleanup 2021-05-02 19:03:57 -04:00
Gregory
29dd367971
Implement recursive replacement support 2021-05-02 19:03:48 -04:00
Danny Moesch
39e8b8f4da Fix #94: Do not replace symlink with output file 2021-03-28 09:58:15 +02:00
Gregory
479f0403db
Merge pull request #118 from SimplyDanny/fix-master
Fix master
2021-03-27 17:55:00 -04:00
Danny Moesch
71cb0d834a Remove macOS Aarch64 target
This target requires cross-compilation on the default (x86_64) `macos-latest`
platform. However, `cross` does [not yet](https://github.com/rust-embedded/cross/issues/508)
provide the right target. If tests can be skipped a build solution outside
of `cross` is already discussed [here](https://github.com/BurntSushi/ripgrep/issues/1737).
2021-03-19 18:36:58 +01:00
Danny Moesch
7724332232 Ignore integration tests in cross-compiled targets
As stated [here](https://github.com/rust-embedded/cross#supported-targets)
spawning threads in tests will make them fail or they may not terminate
at all.
2021-03-19 18:36:58 +01:00
Gregory
ab6827df4e
Update test workflow 2021-03-09 20:56:55 -05:00
Gregory
69dcc42b4d
Merge pull request #114 from yhakbar/master
Adding aarch64-apple-darwin target
2021-03-09 20:49:30 -05:00
Yousif Akbar
aae453b7c8 Adding aarch64-apple-darwin target 2021-03-04 23:36:44 -05:00
Gregory
66ed9ff904
Misc 2021-02-28 23:46:49 -05:00
Gregory
bdf95c1ab2
Merge branch 'master' of github.com:chmln/sd 2021-02-28 23:41:31 -05:00
Gregory
11295fb88a
Add ARM target 2021-02-28 23:41:21 -05:00
Gregory
39864d0d56
Merge pull request #111 from xxc3nsoredxx/gentoo-package
Gentoo installation instructions
2021-02-23 16:39:26 -05:00
xxc3nsoredxx
b18545e365
Gentoo installation instructions
Requires enabling the unc3nsored overlay.
2021-02-22 23:53:36 -06:00
Gregory
687f3a5b14
Add support for limited replacements | #105 2021-02-15 16:14:43 -05:00
Gregory
634d7a58b8
Merge pull request #109 from chmln/glob-recursive
Implement recursive glob support
2021-02-10 22:02:49 -05:00
Gregory
2732a925e3
Move tests to replacer too 2021-02-10 21:57:32 -05:00
Gregory
675fc614f6
Extract replacer into own file 2021-02-10 21:55:32 -05:00
Gregory
495fa3ea9c
Implement recursive glob support
#62
2021-02-10 21:49:38 -05:00
Gregory
c89f6012da
Merge pull request #93 from jchook/64-update-help-message
Adds note about in-place file modification to --help output
2020-08-03 19:50:56 -04:00
Wes Roberts
ebeab6fdf0 Adds note about in-place file modification to --help output 2020-08-03 10:15:16 -04:00
Gregory
977f2cb8a1
(cargo-release) version 0.7.6 2020-07-31 22:53:12 -04:00
Gregory
b1be54e418
Bump deps 2020-07-31 22:51:05 -04:00
Gregory
03dcd40591
Merge pull request #91 from dym-sh/patch-1
edge-case info for strings starting with '--'
2020-07-20 16:59:23 -04:00
Dym Sohin
e140b82b3d
edge-case info for strings starting with '--' 2020-07-20 09:53:23 +02:00
Gregory
987373bdb1
Merge pull request #66 from rstacruz/patch-1
Readme: fix the sed slashes example
2020-07-03 12:01:44 -04:00