Skip to content

Port before_v0.60/stdlib_candidate - #850

Merged
fdncred merged 9 commits into
nushell:mainfrom
39555:port-before_v0.60/stdlib-candidate
May 26, 2024
Merged

fdncred merged 9 commits into
nushell:mainfrom
39555:port-before_v0.60/stdlib-candidate

Conversation

@39555

@39555 39555 commented May 26, 2024

Copy link
Copy Markdown

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

Igor 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
@fdncred

fdncred commented May 26, 2024

Copy link
Copy Markdown
Contributor

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.

2 participants