Adding newlines to hint files

This commit is contained in:
Noah 2016-01-29 13:42:03 -05:00
parent 325899cb5b
commit ea2c95c12c
8 changed files with 8 additions and 8 deletions

2
hint1
View File

@ -2,4 +2,4 @@ Try poking around what's in a file by using the 'head' command:
head -n 20 people
This will show you the first 20 lines of the 'people' file.
This will show you the first 20 lines of the 'people' file.

2
hint2
View File

@ -1,3 +1,3 @@
Try using grep to search for the clues in the crimescene file:
grep "CLUE" crimescene
grep "CLUE" crimescene

2
hint3
View File

@ -1,3 +1,3 @@
In order to track down our potential witness, we need to figure out where she lives.
Try using 'head' on some of the files like 'people' and 'vehicles' and see where we might find that.
Try using 'head' on some of the files like 'people' and 'vehicles' and see where we might find that.

2
hint4
View File

@ -2,4 +2,4 @@ To find all the Annabels' addresses, use the 'people' file:
grep "Annabel" people
Notice that not all of the results are worth investigating. Remember what we know about Annabel.
Notice that not all of the results are worth investigating. Remember what we know about Annabel.

2
hint5
View File

@ -3,4 +3,4 @@
head -n 173 streets/Mattapan_Street | tail -n 1
This will give you just line 173 of Mattapan street, because it will take first 173 lines, and then take
the last line from those.
the last line from those.

2
hint6
View File

@ -6,4 +6,4 @@ To find a matching license plate, or a matching car, you can use grep on the 've
grep "L337" vehicles
This doesn't give us anything useful - why not? Try using 'head' on the file to investigate its structure.
This doesn't give us anything useful - why not? Try using 'head' on the file to investigate its structure.

2
hint7
View File

@ -3,4 +3,4 @@ we need to get multiple lines AROUND each match. We can use the -A, -B, or -C o
grep -A 5 "L337" mystery/vehicles
This will match the license plates that contain "L337" and, for each match, show us the five lines AFTER it.
This will match the license plates that contain "L337" and, for each match, show us the five lines AFTER it.

2
hint8
View File

@ -8,4 +8,4 @@ If you only want to see the number of matches, you can use grep's -c option (the
Or you can pipe the result to 'wc -l':
cat Fitness_Galaxy AAA United_MileagePlus | grep "John Smith" | wc -l
cat Fitness_Galaxy AAA United_MileagePlus | grep "John Smith" | wc -l