Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Add reduce command #700

Merged
merged 3 commits into from
Jan 8, 2022
Merged

Add reduce command #700

merged 3 commits into from
Jan 8, 2022

Conversation

kubouch
Copy link
Contributor

@kubouch kubouch commented Jan 7, 2022

Adds a "reduce" command:

> [ i o t ] | reduce -f "Arthur, King of the Britons" { $it.acc | str find-replace -a $it.item "X" }
ArXhur, KXng Xf Xhe BrXXXns

Chipping away from #242

@kubouch kubouch merged commit 3b467be into nushell:main Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant