Skip to content

Commit e67adf5

Browse files
Fix command pipe syntax in CLI examples (#60)
- Replace '>' with '|' for proper piping in ps aux and whois examples Amp-Thread-ID: https://ampcode.com/threads/T-d7ed5936-a366-4713-950c-edabdcbfc958 Amp-Thread-ID: https://ampcode.com/threads/T-e6b1faa8-6fcc-4de9-8deb-c4a98cd25fa6 Co-authored-by: Amp <[email protected]>
1 parent 5bcebd7 commit e67adf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ Amp CLI can be seamlessly integrated with other command-line tools to enhance yo
9393
##### ps aux
9494

9595
```bash
96-
ps aux > processes.txt && amp -x "identify processes consuming the most resources in processes.txt"
96+
ps aux > processes.txt | amp -x "identify processes consuming the most resources in processes.txt"
9797
```
9898

9999
##### whois
100100

101101
```bash
102-
amp -x "organize and condense this whois information" && whois example.com | amp -x
102+
whois example.com | amp -x "organize and condense this whois information"
103103
```
104104

105105
##### curl

0 commit comments

Comments
 (0)