forked from extern/nushell
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
26 lines
395 B
Markdown
26 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
|
|
```
|
|
|