From 45f398086363e416da8baded3ab78a867aecf804 Mon Sep 17 00:00:00 2001 From: Augusto Date: Thu, 28 Nov 2019 15:47:30 +0000 Subject: [PATCH] Improve subjects for ztail and pilot --- subjects/pilot.en.md | 6 ++++++ subjects/ztail.en.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/subjects/pilot.en.md b/subjects/pilot.en.md index 8e3aeee0..9bcca938 100644 --- a/subjects/pilot.en.md +++ b/subjects/pilot.en.md @@ -4,6 +4,12 @@ Write a `go` file so that the following program compiles. +### Note: + +- The code bellow must be submitted. + +- Be careful with the expected files. + ### Usage ```go diff --git a/subjects/ztail.en.md b/subjects/ztail.en.md index c18e4e9c..93670787 100644 --- a/subjects/ztail.en.md +++ b/subjects/ztail.en.md @@ -10,4 +10,10 @@ Write a program called `ztail` that has the same behaviour as the system command - For the program to pass the tests the convention for the return code of program in Unix systems should be followed (see os.Exit). +- Handle the errors and output the same error messages as `tail`. + - For more information consult the man page for `tail`. + +### Note: + +This program is gonna be tested against `tail`, be sure to check all the different error messages with different permutations of the arguments.