Skip to content

Commit 1da67b1

Browse files
committed
Make README.md examples more Batch friendly
1 parent 56ac6c0 commit 1da67b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,17 @@ for i := 0; i < len(s); i++ {
157157
### Programs
158158
```golang
159159
// Programs are called by stating the program name preceded by an @.
160-
@ls("-a")
160+
@dir("/b")
161161
```
162162

163163
```golang
164164
// Similar to Bash/Batch, the output can be piped into another program.
165-
@ls("-a") | @sort()
165+
@dir("/b") | @sort("/r")
166166
```
167167

168168
```golang
169169
// To capture the output, just assign the call chain to variables.
170-
stdout, stderr, code := @ls("-a") | @sort()
170+
stdout, stderr, code := @dir("/b") | @sort("/r")
171171
```
172172

173173
### Imports

0 commit comments

Comments
 (0)