Browse Source

add single arg

pull/1327/head
MSilva95 2 years ago committed by Dav Hojt
parent
commit
6574814741
  1. 4
      subjects/argrot1/README.md

4
subjects/argrot1/README.md

@ -11,10 +11,12 @@ Write a program that rotates the arguments in the command line by 1 position.
```console
$ go run . | cat -e
$
$ go run . "hello" | cat -e
$
$ go run . 1 2 3 4 5 6 7 8 9 | cat -e
2 3 4 5 6 7 8 9 1$
$ go run "Hello" "World" | cat -e
World Hello$
$ go run . a b c d
b c d a$
```
```

Loading…
Cancel
Save