Skip to content

feat(choose,filter): --input-delimiter --output-delimiter#779

Merged
caarlos0 merged 3 commits intomainfrom
delimiter
Dec 13, 2024
Merged

feat(choose,filter): --input-delimiter --output-delimiter#779
caarlos0 merged 3 commits intomainfrom
delimiter

Conversation

@caarlos0
Copy link
Copy Markdown
Contributor

allows to change how content from stdin is used, and how results are printed.

one could get around it piping into and from tr, but results aren't quite right, especially when tr '\n' ',' for example, as it'll add an extra , in the end of the string.

This makes things a bit cleaner, hopefully.

closes #274

allows to change how content from stdin is used, and how results are
printed.

one could get around it piping into and from `tr`, but results aren't
quite right, especially when `tr '\n' ','` for example, as it'll add an
extra `,` in the end of the string.

This makes things a bit cleaner, hopefully.

closes #274
@caarlos0 caarlos0 merged commit 6d405c4 into main Dec 13, 2024
@caarlos0 caarlos0 deleted the delimiter branch December 13, 2024 20:03
@meowgorithm
Copy link
Copy Markdown
Member

This is so nice.

@bashbunni bashbunni added this to the v0.15.0 milestone Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability Set to set a input delimiter on gum filter and a output delimiter when using --no-limit

3 participants