01-edu / Branch-Blockchain

⛓️ Repository for the Blockchain branch content.
3 stars 5 forks source link

Hash_file exercise Quest 2 exercise 2 : missing of newline in the usage part #7

Closed Hamzaelkhatri closed 1 year ago

Hamzaelkhatri commented 2 years ago

in the usage part, the file textfile.txt does not contain a newline at the end, however, if we use the file without including the newline, the expected result should be

bfae4a86e38196ebccd4b9ef32454ff4271afa4ad539106de37d318591533873

instead of

a7a3d006d0b37872526f57529014864b1da514e9e00799eb4f8b71d080c5a9a6

I guess it will be good if the subject contains something like that in the usage part :

$ cat ./textfile.txt | cat -e 
This is a text file$