You are viewing an archive of Victory Road.
Victory Road closed on January 8, 2018. Thank you for making us a part of your lives since 2006! Please read this thread for details if you missed it.
When I was stuck in the fill-in-the-blanks activity "l___f___l___k___", I used Perl, and it solved my problem.
It is a one-liner in the command line:
[SpaceMan@sm-laptop ~]$ perl -e "/^l.+f.+l.+k.+$/ and print while <>" /usr/share/dict/words life-like lifelike lifelikeness lofty-looking [SpaceMan@sm-laptop ~]$
perl # perl interpreter -e # execute code in the next argument " /^l.+f.+l.+k.+$/ # find words that match the blank and print # and print matches while <> # look through the lines of ARGV[0..n] " /usr/share/dict/words # pass the dictionary file