X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/cd3001477e8cada39b9db728f65ff610d89a8895..4ca870204b00e20eea298a556243744e1207b355:/sym-gtest diff --git a/sym-gtest b/sym-gtest index b3db964..3dd6ed6 100755 --- a/sym-gtest +++ b/sym-gtest @@ -15,7 +15,9 @@ sub random ($) { return int(rand($lim)); } -open(DICT, "/usr/dict/words") or die("open(/usr/dict/words): $!"); +$words = "/usr/dict/words"; +-r $words or $words = "/usr/share/dict/words"; +open(DICT, $words) or die("open($words): $!"); @w = ; chomp(@w); close(DICT);