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

Port before_v0.60/stdlib_candidate #850

Merged
merged 9 commits into from
May 26, 2024

Conversation

39555
Copy link
Contributor

@39555 39555 commented May 26, 2024

This PR is part of porting all old scripts #221 and includes the stdlib_candidate scripts

7 changed files

  • flatter.nu
  • get-column.nu
  • get-row.nu
  • get-latest-release-linux.nu
  • logging.nu
  • nu_style.nu
  • print.nu

39555 added 9 commits May 26, 2024 15:59
- fix error: "can only flatten one inner list at a time" -> flatten each column in reduce
- mention the new version author
- rewrite with new version for getting columns from the table
- `nth` -> `get`
- `date format` -> `format date`
- remove `echo` and `autoview`
- rename `print` to `print1` because nu already has the `print` command
- `empty?` -> `is-empty`
- `each --numbered` -> `enumerate | each`
- `if {} {}` -> `if {} else {}`
- `str collect` -> `str join`
- remove commented logging
- `str collect` -> `str join`
- `fetch` -> `http get`
- `nth 0` -> `first`
- new asset name for linux `x86_64-linux-gnu-full.tar.gz` + `first` to get from the table
- explicit `print`
- `**` in `cp /**/*`
@fdncred fdncred merged commit adaae97 into nushell:main May 26, 2024
1 check passed
@fdncred
Copy link
Collaborator

fdncred commented May 26, 2024

Thanks

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.

None yet

2 participants