# for project 1 adj_res: cut -f 1 word_pos.txt -d'/' | fsa -aux my_macros.pl -raa adjective 2> adj_res adj_A_errors: adj_res grep -v ' ' adj_res |paste - word_pos.txt |grep 'A' | grep '^no' > adj_A_errors # produces a unix error if no N errors exist. adj_N_errors: adj_res grep -v ' ' adj_res |paste - word_pos.txt |grep 'N' | grep '^yes' > adj_N_errors adj_V_errors:adj_res grep -v ' ' adj_res |paste - word_pos.txt |grep 'V' | grep '^yes' > adj_V_errors # produces a make error if no N errors exist. Do # make -i adj_results # in that case... adj_results : adj_A_errors adj_N_errors adj_V_errors wc -l adj_A_errors wc -l adj_N_errors wc -l adj_V_errors clean: rm -f adj_res adj_A_errors adj_N_errors adj_V_errors # for project 2 monosyll.res: fsa -aux my_macros.pl -raa syllable < monosyll.txt 2> monosyll.res # produces a make error is no negative cases are found in monosyll.res monosyll.err: monosyll.res grep -v ' ' monosyll.res |paste - monosyll.txt |grep -s '^no'