cu-mkp/GR8975

grep problem from Terry's email—solved, perhaps?

Opened this issue · 3 comments

I tried the exercise with the grep function that Terry sent around in his email. I couldn't get it to work with the command as written:

$ tr -sc [:alpha:] '\n' < folio_files/[folio_file].txt | tr [:upper:] [:lower:] | grep -v -x -f stop_words.txt

BUT... when I used the list-form of the stopwords, it made a difference. Try this:

$ tr -sc [:alpha:] '\n' < folio_files/[folio_file].txt | tr [:upper:] [:lower:] | grep -v -x -f stop_words.txt_list

@thuchacz It looks like your local repository is not up to date with the remote. Remember to do a git pull before you start working in your local repo.

My mistake! Sorry for confusion.

grep: All I get when doing this is a list of single letters