mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
Rename range
to slice
(#1014)
Followup for https://github.com/nushell/nushell/pull/14825
This commit is contained in:
parent
1f6ee6c86d
commit
fd686c0b0c
12 changed files with 29 additions and 29 deletions
|
@ -1,8 +1,8 @@
|
|||
# Combine two files into one
|
||||
|
||||
def create_files [] {
|
||||
[0,1,2,3] | range 0..3 | save a.json
|
||||
[4,5,6,7] | range 0..3 | save b.json
|
||||
[0,1,2,3] | slice 0..3 | save a.json
|
||||
[4,5,6,7] | slice 0..3 | save b.json
|
||||
}
|
||||
|
||||
create_files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue