Browse Source

Update cat.en.md

content-update
Christopher Fremond 5 years ago committed by GitHub
parent
commit
587f829beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      subjects/cat.en.md

5
subjects/cat.en.md

@ -6,7 +6,7 @@ Write a program that has the same behaviour as the system's `cat` command-line.
- The `options` do not have to be handled.
- If the program is called without arguments it should take the `input` and print it back.
- If the program is called without arguments it should take the `input` and print it back (as shown with the "Hello" example below).
- In the program folder create two files named `quest8.txt` and `quest8T.txt`.
@ -30,7 +30,8 @@ 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
Hello
Hello^C
Hello
^C
student@ubuntu:~/piscine-go/cat$ ./cat quest8.txt quest8T.txt
"Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing
"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."

Loading…
Cancel
Save