public/subjects/displayfile
nprimo 49cfe46eac docs(displayfile): escape `!` from the subject example command 2024-06-05 18:24:56 +01:00
..
README.md docs(displayfile): escape `!` from the subject example command 2024-06-05 18:24:56 +01:00

README.md

displayfile

Instructions

Write a program that displays, on the standard output, the content of a file given as argument.

Usage :

$ go run .
File name missing
$ echo 'Almost there!!' > quest8.txt
$ go run . quest8.txt main.go
Too many arguments
$ go run . quest8.txt
Almost there!!