commit 45cb54e8a6b6eb4d5308d5404960e7be40b760c1 from: rsc date: Thu Apr 06 15:58:01 2006 UTC no /fd/2 commit - 2ff29ba87ae1077623d4aa93c52020ab379795b2 commit + 45cb54e8a6b6eb4d5308d5404960e7be40b760c1 blob - 8a29bb9430316a36f13ffe5fcb89a0e577687b86 blob + 72d093c38e7301595f40c4c84614aa23897fb273 --- bin/lookman +++ bin/lookman @@ -13,7 +13,7 @@ fn sigexit sigint sighup sigterm{ } *=`{echo $*|tr A-Z a-z|tr -dc 'a-z0-9_ \012'} # fold case, delete funny chars if(~ $#* 0){ - echo Usage: lookman key ... >/fd/2 + echo usage: lookman key ... >[1=2] exit 1 } look $1 $index|sed 's/.* //'|sort -u >$t1