Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete output from `cat` in Episode 4, "Committing Multiple Files" #695

Open
LouiseABowler opened this issue Oct 1, 2019 · 0 comments

Comments

@LouiseABowler
Copy link

commented Oct 1, 2019

The first step of the "Committing Multiple Files" exercise in Episode 4 is to add a new line of text to mars.txt. The command cat mars.txt is then used to examine the contents of the file before proceeding.

The solution shows that the output of the cat command should be

Maybe I should start with a base on Venus.

but it actually shows all the text in mars.txt, which at this point is

Cold and dry, but everything is my favorite color
The two moons may be a problem for Wolfman
But the Mummy will appreciate the lack of humidity
Maybe I should start a base on Venus.

When I went through the exercise I wasn't sure whether the text had intentionally been cut for brevity, was unintentionally incomplete or whether I should have replaced the earlier lines in the file. (I'd guess not the last option as the solution's commit log says "2 insertions" only.) If someone could clarify, I'd be happy to open a PR to fix 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.