Commit graph

280 commits

Author SHA1 Message Date
CosmicHorror
6ee7e7ecd2
Update generated assets (#235) 2023-10-02 17:52:13 -05:00
Blair Noctis
4ed733834f
docs: use clap_mangen and roff to generate manpage (#231) 2023-10-02 17:44:47 -05:00
Vas Sudanagunta
05ee953299
Improve README readability (#227)
* README: fix formatting of numbered Quick Guide examples

* README: make The Pitch easier to read

- less clutter
- easier on the eyes.
- previous format looks less concise and more wordy even though it's the same.

* README: make Comparison to sed easier to read

- nix deeply nested list, which just adds clutter.
- make sure sed syntax is always lined up just below sd syntax for clear visual contrast

* README: make title look and read better
2023-10-02 17:38:21 -05:00
dependabot[bot]
3d7141477c
Bump clap_complete from 4.4.0 to 4.4.1 (#220)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.0...clap_complete-v4.4.1)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 22:02:40 -06:00
dependabot[bot]
febdfd3a2c
Bump actions/checkout from 3 to 4 (#221)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 21:57:51 -06:00
dependabot[bot]
7e7a4ebdda
Bump clap from 4.4.2 to 4.4.3 (#225)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 21:57:11 -06:00
dependabot[bot]
8eb5ae9d99
Bump regex from 1.9.4 to 1.9.5 (#219)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.4...1.9.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:55:59 -06:00
dependabot[bot]
d00dcba43e
Bump thiserror from 1.0.47 to 1.0.48 (#218)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:55:39 -06:00
dependabot[bot]
aa5227da50
Bump clap from 4.3.23 to 4.4.2 (#217)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.23 to 4.4.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.23...v4.4.2)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:39:59 -06:00
dependabot[bot]
020787921a
Bump clap_complete from 4.3.2 to 4.4.0 (#215)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.3.2 to 4.4.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.2...clap_complete-v4.4.0)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:35:36 -06:00
dependabot[bot]
12b037cfb1
Bump regex from 1.9.3 to 1.9.4 (#214)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.3...1.9.4)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:35:27 -06:00
dependabot[bot]
8d8d740644
Bump memmap2 from 0.5.10 to 0.7.1 (#213)
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs) from 0.5.10 to 0.7.1.
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.10...v0.7.1)

---
updated-dependencies:
- dependency-name: memmap2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:19:51 -05:00
dependabot[bot]
c0de8badab
Bump assert_cmd from 1.0.8 to 2.0.12 (#212)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.8 to 2.0.12.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.8...v2.0.12)

---
updated-dependencies:
- dependency-name: assert_cmd
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:11:09 -05:00
dependabot[bot]
3f2583a859
Bump svenstaro/upload-release-action from 1.pre.release to 2.7.0 (#211)
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 1.pre.release to 2.7.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/v1-release...2.7.0)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:09:34 -05:00
dependabot[bot]
2113a8e1f7
Bump actions/checkout from 2 to 3 (#210)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:03:34 -05:00
Yousif Akbar
273fe7418d
Dependency updates (#209)
* Upgrading Cargo files

* Adding dependabot.yml file
2023-08-21 18:18:54 -05:00
Yousif Akbar
0c0907be13
Documenting $ escape (#207) 2023-08-20 11:43:27 -05:00
Yousif Akbar
a730b276d3
Adding Windows builds back (#206) 2023-08-20 11:42:08 -05:00
Yousif Akbar
5c56c830ff
Resolving broken aarch64-apple-darwin tests (#205)
* Resolving broken `aarch64-apple-darwin` tests

* Using cross for `aarch64-apple-darwin` test and publish workflows

* Reverting use of cross for `aarch64-apple-darwin` as there is no image
for that.

* Placing better explanation for why the `aarch64-apple-darwin` target is built, but not tested in CI
2023-08-20 11:41:16 -05:00
Yousif Akbar
4456de5fe3
Adding armv7-unknown-linux-gnueabihf target (#204) 2023-08-20 11:38:02 -05:00
CosmicHorror
43568a8229
Add a release checklist (#197) 2023-06-04 13:10:07 -05:00
CosmicHorror
c025993529
Move generating static assets to a cargo-xtask task (#196)
* Move generating static assets to a `cargo-xtask` task

* Generate static assets

* Remove now unused build dependencies

* Fix CI
2023-06-04 12:54:10 -05:00
Yousif Akbar
1d56bc897d
Build Adjustments (#179)
* Adding extra compile targets

* Moving symbol stripping to cargo release build instead of doing it manually after the fact

* Removing Windows builds

* aarch64-apple-darwin build works better without cross

* Re-introducing windows builds, but commenting it out to signal future work

* Commenting out failing `aarch64-apple-darwin` test

* Adding failing 'x86_64-pc-windows-msvc` test back in as a comment
2023-05-17 13:54:28 -05:00
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