sd icon indicating copy to clipboard operation
sd copied to clipboard

Intuitive find & replace CLI (sed alternative)

Results 114 sd issues
Sort by recently updated
recently updated
newest added

Both files are identical ``` https://github.com/chmln/sd/releases/download/v0.7.6/sd-v0.7.6-x86_64-unknown-linux-gnu https://github.com/chmln/sd/releases/download/v0.7.6/sd-v0.7.6-x86_64-unknown-linux-musl ``` and compiled against gnu `libc` which makes it isn't portable as it used to be with `musl`

It would be really sweet if there was an easy way to preview the things `sd` finds, before committing to a replacement. I realize this is a slightly different use...

When `sd` doesn't match an input, it should not return with exit code `0` this will cause issues when scripting. >>> echo 'target' | sd 'miss' 'hit' && echo $?...

C-enhancement

I want to replace `\w+` with `$a`. Nothing seems to work using latest git version (4ccc52203afda466a409f1b0835798ebdb2ee622): ``` $ echo foo | sd '\w+' '$a' $ echo foo | sd '\w+'...

https://ports.macports.org/port/sd/

I assume the majority of users who come across `sd` are likely also using other popular Rust-based CLI tools like `fd` and `rg`: - [`sharkdp/[email protected]#L70-L75`](https://github.com/sharkdp/fd/blob/fe53af064b5c27c996c326fc84436ef9a38af664/src/app.rs#L70-L75) - [`BurntSushi/[email protected]#L1175-L1178`](https://github.com/BurntSushi/ripgrep/blob/8ebc113847926922bb85fb5a01c175319fb1e8d4/src/app.rs#L1175-L1178) For consistency with...

Scenario: trying to get ride of some initial lines from an SQL dump file to be able to properly import it on my local Postgres database. **File size is around...

C-bug

``` ~/Tinker/wiener/ sd utilities1 utilities hangs ``` Could it still be working? Does it respect .gitignore like ripgrep? `~/Tinker/wiener/ rg utilities1` ``` getForwardFromDate.js 1:import {getUrlOfNewsletter, getNewsletterFromDate, getDateFromNewsletter, getPermaLinkFowardFromPage} from './utilities1.js'...

It would be great to also have linux arm64 binaries for releases.

Maybe it's me not using it correctly, but I think I'm correct and therefore while I should capture one or two characters with the capture group, it gives me nothing....