File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ $env.Path = ($env.Path | prepend 'C:\Program Files\Git\usr\bin')
42
42
| ` command \| head -5 ` | ` command \| first 5 ` | Limit the output to the first 5 rows of an internal command (see also ` last ` and ` skip ` ) |
43
43
| ` cat <path> ` | ` open --raw <path> ` | Display the contents of the given file |
44
44
| | ` open <path> ` | Read a file as structured data |
45
+ | ` cat <(<command1>) <(<command2>) ` | ` [(command1), (command2)] \| str join ` | Concatenate the outputs of command1 and command2 |
46
+ | ` cat <path> <(<command>) ` | ` [(open --raw <path>), (command)] \| str join ` | Concatenate the contents of the given file and output of command |
45
47
| ` mv <source> <dest> ` | ` mv <source> <dest> ` | Move file to new location |
46
48
| ` for f in *.md; do echo $f; done ` | ` ls *.md \| each { $in.name } ` | Iterate over a list and return results |
47
49
| ` for i in $(seq 1 10); do echo $i; done ` | ` for i in 1..10 { print $i } ` | Iterate over a list and run a command on results |
You can’t perform that action at this time.
0 commit comments