grep problem from Terry's email—solved, perhaps?
Opened this issue · 3 comments
thuchacz commented
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
tcatapano commented
@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.
thuchacz commented
My mistake! Sorry for confusion.
ps2270 commented
grep: All I get when doing this is a list of single letters