X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/cd3001477e8cada39b9db728f65ff610d89a8895..f02553fdfdc99b34012478cdea5b57a280c0d3e7:/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);