translation of ztail

This commit is contained in:
Christopher Fremond 2019-06-18 03:14:42 +01:00 committed by Christopher Fremond
parent c2c7806024
commit 538c8afc92
3 changed files with 13 additions and 13 deletions

View File

@ -4,11 +4,11 @@
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!!`
- Create a file `quest8.txt` and write nito it the sentence `Almost there!!`
- The argument of the program should be the name of the file, in this case, `quest8.txt`.
- The argument of the program in this case should be, `quest8.txt`.
- In case of error it should print one the below messages accordingly:
- In case of error the program should print one the below messages accordingly:
- `File name missing`.
- `Too many arguments`.

View File

@ -2,12 +2,12 @@
### Instructions
Write a program called ztail that does the same thing as the system command tail, but witch takes at least one file as argument.
Write a program called `ztail` that has the same behaviour as the system command `tail`, but which takes at least one file as argument.
The only option you have to handle is -c. This option will be used in all tests.
- The only option to be handled is `-c`. This option will be used in all tests.
For this program you can use the "os" package.
- For this program the "os" package can be used.
For the program to pass the test you should follow the convention for the return code of program in Unix sistems (see os.Exit)
- For the program to pass the tests the convention for the return code of program in Unix systems should be followed (see os.Exit).
For more information consult the man page for tail.
- For more information consult the man page for `tail`.

View File

@ -2,12 +2,12 @@
### Instructions
Write a program called ztail that does the same thing as the system command tail, but witch takes at least one file as argument.
Écrire un programme `ztail` qui a le même comportement que la ligne de commande `tail`, mais qui prend au moins 1 fichier comme argument.
The only option you have to handle is -c. This option will be used in all tests.
- La seule option qui doit être géré est `-c`. Cette option sera utilisé dans tous les tests.
For this program you can use the "os" package.
- Pour ce programme le package "os" peut être utilisé.
For the program to pass the test you should follow the convention for the return code of program in Unix sistems (see os.Exit)
- Pour que le programme passe les tests la convention pour le retour code de programme en systémes Unix devra être suivi(voir os.Exit).
For more information consult the man page for tail.
- Pour plus d'informtations consulter la page du man de `tail`.