Update README.md

This commit is contained in:
Jonathan Turner 2020-05-14 05:37:18 +12:00 committed by GitHub
parent 8abbfd3ec9
commit f5a1d2f4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ Commands that work in the pipeline fit into one of three categories:
Commands are separated by the pipe symbol (`|`) to denote a pipeline flowing left to right. Commands are separated by the pipe symbol (`|`) to denote a pipeline flowing left to right.
``` ```
/home/jonathan/Source/nushell(master)ls | where type == "Dir" | autoview /home/jonathan/Source/nushell(master)> ls | where type == "Dir" | autoview
───┬────────┬──────┬────────┬────────────── ───┬────────┬──────┬────────┬──────────────
# │ name │ type │ size │ modified # │ name │ type │ size │ modified
───┼────────┼──────┼────────┼────────────── ───┼────────┼──────┼────────┼──────────────
@ -171,7 +171,7 @@ Being able to use the same commands and compose them differently is an important
For example, we could use the built-in `ps` command as well to get a list of the running processes, using the same `where` as above. For example, we could use the built-in `ps` command as well to get a list of the running processes, using the same `where` as above.
```text ```text
/home/jonathan/Source/nushell(master)ps | where cpu > 0 /home/jonathan/Source/nushell(master)> ps | where cpu > 0
───┬────────┬───────────────────┬──────────┬─────────┬──────────┬────────── ───┬────────┬───────────────────┬──────────┬─────────┬──────────┬──────────
# │ pid │ name │ status │ cpu │ mem │ virtual # │ pid │ name │ status │ cpu │ mem │ virtual
───┼────────┼───────────────────┼──────────┼─────────┼──────────┼────────── ───┼────────┼───────────────────┼──────────┼─────────┼──────────┼──────────