X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=smarthist.sh;h=24b755d8f20c8dd8b03435d26b387e6540107652;hb=fca0fb9a7bfb0c103501aaa8e00f7f8670693774;hp=7b9967f55afcd0cf13bdbe1f0a3f7c15a934912a;hpb=c6ca9f58d1fc293f319a78b208675a6a8b54c30f;p=selector.git diff --git a/smarthist.sh b/smarthist.sh index 7b9967f..24b755d 100755 --- a/smarthist.sh +++ b/smarthist.sh @@ -17,11 +17,11 @@ EXE=./selector # We do not want a security breach -OUT=/tmp/selector.out +OUT=`mktemp /tmp/selector.XXXXXX` touch ${OUT} chmod go-rwx ${OUT} -${EXE} ~/.bash_history +${EXE} -o ${OUT} -f ~/.bash_history # We set the echo off