Browse Source

correcting cat subject

content-update
lee 5 years ago
parent
commit
ef478d52c9
  1. 6
      subjects/cat.en.md

6
subjects/cat.en.md

@ -18,13 +18,15 @@ Write a program that has the same behaviour as the system's `cat` command-line.
`"Alan Mathison Turing was an English mathematician, computer scientist, logician, cryptanalyst. Turing was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, which can be considered a model of a general-purpose computer. Turing is widely considered to be the father of theoretical computer science and artificial intelligence."`
- In case of error the program should print the error.
- The program must be submitted inside a folder named `cat`.
```console
student@ubuntu:~/piscine-go/cat$ go build
student@ubuntu:~/piscine-go/cat$ ./cat Hello There
student@ubuntu:~/piscine-go/cat$ ./cat
Hello
Hello
There
student@ubuntu:~/piscine-go/cat$ ./cat quest8.txt
"Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing
student@ubuntu:~/piscine-go/cat$ ./cat quest8.txt quest8T.txt

Loading…
Cancel
Save