mirror of https://github.com/01-edu/public.git
add single arg
This commit is contained in:
parent
5c11b6e9ec
commit
6574814741
|
@ -11,6 +11,8 @@ Write a program that rotates the arguments in the command line by 1 position.
|
||||||
```console
|
```console
|
||||||
$ go run . | cat -e
|
$ go run . | cat -e
|
||||||
$
|
$
|
||||||
|
$ go run . "hello" | cat -e
|
||||||
|
$
|
||||||
$ go run . 1 2 3 4 5 6 7 8 9 | cat -e
|
$ go run . 1 2 3 4 5 6 7 8 9 | cat -e
|
||||||
2 3 4 5 6 7 8 9 1$
|
2 3 4 5 6 7 8 9 1$
|
||||||
$ go run "Hello" "World" | cat -e
|
$ go run "Hello" "World" | cat -e
|
||||||
|
|
Loading…
Reference in New Issue