For this exercise, I used vim to create a text file for the original poem. Then, I used the bash program called ‘diff’ to look at differences between the error-filled ‘Jabberwacky.txt’ and ‘Original.txt’.
3,11 c3,11 <- this means that in this portion of the poem, every line is different from the Jabberwacky.txt and the original. The first chunk is lines 3-11 of file 1 (Jabberwacky.txt), and the second chunk is lines 3-11 of file 2 (Original.txt)
diff Jabberwacky.txt Original.txt
3,11c3,11
< ’Twas brillow, and the slimy coves
< All wimsy ware the mourning doves,
< Did gyre and gimbal in the wave:
< And the meme wrath lout crave.
<
< “Beware the Jabberwock, my soul!
< The jaws that bite, the claws that match!
< Beware the Jubjub bird, and brace
< The luminous Bandersnatch!”
---
> ’Twas brillig, and the slithy toves
> Did gyre and gimble in the wabe:
> All mimsy were the borogoves,
> And the mome raths outgrabe.
>
> “Beware the Jabberwock, my son!
> The jaws that bite, the claws that catch!
> Beware the Jubjub bird, and shun
> The frumious Bandersnatch!”
For this exercise, I used vim to create a text file for the original poem. Then, I used the bash program called ‘diff’ to look at differences between the error-filled ‘Jabberwacky.txt’ and ‘Original.txt’.
3,11 c3,11 <- this means that in this portion of the poem, every line is different from the Jabberwacky.txt and the original. The first chunk is lines 3-11 of file 1 (Jabberwacky.txt), and the second chunk is lines 3-11 of file 2 (Original.txt)