Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -c flag to select command #4062

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Add -c flag to select command #4062

merged 1 commit into from
Oct 5, 2021

Conversation

JoshCheek
Copy link
Contributor

@JoshCheek JoshCheek commented Oct 4, 2021

See cc3653c for more on the -c flag.

Example of why this is useful:

fetch https://raw.githubusercontent.com/andrab/ecuacovid/master/datos_crudos/ecuacovid-vacunas.csv | save ecuacovid-vacunas.csv
let names = (open ./ecuacovid-vacunas.csv | get | last 2);
open ./ecuacovid-vacunas.csv | select informacion -c $names

image

Co-authored-by: Andrés N. Robalino andres@androbtech.com

@JoshCheek JoshCheek changed the title Add -c flag to select subcommand Add -c flag to select command Oct 4, 2021
See cc3653c for more on the `-c` flag.

Co-authored-by: Andrés N. Robalino <andres@androbtech.com>
@sophiajt
Copy link
Contributor

sophiajt commented Oct 5, 2021

Thanks!

@sophiajt sophiajt merged commit 574c596 into nushell:main Oct 5, 2021
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.

2 participants