mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago |
README.md
concatenate
Instructions
Write a program that displays all the arguments as a single string by simply putting one after each other. If there are not enough arguments it should display a new line.
Usage
$ go run . hello there chris | cat -e
hellotherechris$
$ go run . a b c d | cat -e
abcd$
$ go run . "hello there" "how are you?"
hello therehow are you?$
$ go run . "hello there" " " | cat -e
hello there $