zip for filters> zip {flags} (other)
other: the other input| input | output | 
|---|---|
| list<any> | list<list<any>> | 
| range | list<list<any>> | 
Zip two lists
> [12] |zip [34]
╭───┬───────────╮
│0│╭───┬───╮│
│││0│1││
│││1│3││
││╰───┴───╯│
│1│╭───┬───╮│
│││0│2││
│││1│4││
││╰───┴───╯│
╰───┴───────────╯
Zip two ranges
>1..3|zip4..6
╭───┬───────────╮
│0│╭───┬───╮│
│││0│1││
│││1│4││
││╰───┴───╯│
│1│╭───┬───╮│
│││0│2││
│││1│5││
││╰───┴───╯│
│2│╭───┬───╮│
│││0│3││
│││1│6││
││╰───┴───╯│
╰───┴───────────╯
Rename .ogg files to match an existing list of filenames
>glob*.ogg|zip ['bang.ogg', 'fanfare.ogg', 'laser.ogg'] |each {|| mv$in.0$in.1 }
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/zip.html