From b0f2494923ba7bd8a10400a1ea4460698db74380 Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Mon, 17 Jun 2019 19:53:55 +0100 Subject: [PATCH] traduction de la quete 8 --- subjects/displayfile.en.md | 6 +++--- subjects/displayfile.fr.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/displayfile.en.md b/subjects/displayfile.en.md index f72987fff..eeaf506a3 100644 --- a/subjects/displayfile.en.md +++ b/subjects/displayfile.en.md @@ -2,17 +2,17 @@ ### Instructions -Write a program that displays, on the standard output, only the content of the file given as argument. +Write a program that displays, on the standard output, the content of a file given as argument. - Create a file `quest8.txt` and write into the file `Almost there!!` - The argument of the program should be the name of the file, in this case, `quest8.txt`. -- In case of error it should print: +- In case of error it should print one the below messages accordingly: - `File name missing`. - `Too many arguments`. -### Output: +### Usage: ```console student@ubuntu:~/student/displayfile$ go build diff --git a/subjects/displayfile.fr.md b/subjects/displayfile.fr.md index 1f1bce848..b117240c3 100644 --- a/subjects/displayfile.fr.md +++ b/subjects/displayfile.fr.md @@ -2,17 +2,17 @@ ### Instructions -Write a program that displays, on the standard output, only the content of the file given as argument. +Écrire un programme qui affiche, sur la sortie standard, le contenu d'un fichier donné en argument. -- Create a file `quest8.txt` and write into the file `Almost there!!` +- Créer un fichier `quest8.txt` et écrire dedans la phrase `Almost there!!` -- The argument of the program should be the name of the file, in this case, `quest8.txt`. +- L'argument pour ce programme sera, dans ce cas, `quest8.txt`. -- In case of error it should print: +- En cas d'erreur le programme doit afficher un des deux messages suivants de manière approprié: - `File name missing`. - `Too many arguments`. -### Output: +### Utilisation: ```console student@ubuntu:~/student/test$ go build