From cf26a508d35dcb52c9044ff724955f36efb26563 Mon Sep 17 00:00:00 2001 From: estlop Date: Fri, 1 Jul 2022 12:31:19 +0100 Subject: [PATCH] Add usage examples and be more specific with the instructions as reviewed --- subjects/concatenate/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/subjects/concatenate/README.md b/subjects/concatenate/README.md index 3246fa60..20a8a0f0 100644 --- a/subjects/concatenate/README.md +++ b/subjects/concatenate/README.md @@ -2,13 +2,17 @@ ### Instructions -Write a program that displays all the arguments as a single string. If there are not enough arguments it should display a new line. +Write a program that displays all the arguments as a single string by simple putting one after each other. If there are not enough arguments it should display a new line. ### Usage ```console $ go run . hello there chris | cat -e hellotherechris$ -$ go run . a b c d| cat -e +$ 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 $ ```