mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
25 lines
395 B
Markdown
25 lines
395 B
Markdown
# path split
|
|
Split a path into parts by a separator.
|
|
|
|
## Usage
|
|
```shell
|
|
> path split ...args {flags}
|
|
```
|
|
|
|
## Parameters
|
|
* ...args: Optionally operate by column path
|
|
|
|
## Flags
|
|
* -h, --help: Display this help message
|
|
|
|
## Examples
|
|
Split a path into parts
|
|
```shell
|
|
> echo '/home/viking/spam.txt' | path split
|
|
```
|
|
|
|
Split all paths under the 'name' column
|
|
```shell
|
|
> ls | path split name
|
|
```
|
|
|