sd
sd copied to clipboard
Intuitive find & replace CLI (sed alternative)
Hi and thanks for `sd`! I was wondering if it's possible with `sd` to have a command like `date` create the replacement string, where `date` gets the matched string as...
I ran against this situation multiple times: I only need to search & replace the first occurrence of a pattern. It'd be useful if `sd` allowed to exit gracefully after...
The `--help` output mentions the regex flags available, but not which ones are enabled by default. It could use a bit like "By default, acts like `sd -f ce`"
Is it possible to remove lines with sd? You could of course "replace line with empty" but that leaves unwanted empty blank lines. With sed you write `sed -i '/pattern...
Could you publish arm32 and arm64 builds for raspberry pi? Is there anything I could do to help?
When I try to use `sd` (on MacOS Catalina, Intel x86_64) on a file in a volume mounted by [Cryptomator](https://cryptomator.org) (backed by a OneDrive mount) I get the error "memory...
Hi, It would appear that the build system used is very current as I cannot run sd on RHEL 7.9 and Centos 7.9 which use glibc 2.17. ``` file /usr/local/sbin/sd...
How can I replace `foo` with `bar` only if there is a `baz` later on the same line, For example, in sed the command looks like: sed -i 's/foo\(.*baz\)/bar\1/' file...
I am using `sd 0.7.6`. The directory tree looks like: ``` . ├── choose-test.adoc ├── choose-test (another copy).adoc ├── choose-test (copy).adoc └── Untitled Folder ├── choose-test.adoc ├── choose-test (another copy).adoc...
`apt install sd` doesn't work . I have found that cargo is need before install sd. Do you have a plan publish sd to ubuntu apt ?