Deprecation Apreciation

Yannis Kotsinos zookie at med.auth.gr
Tue Apr 30 02:25:01 EEST 2002


Yannis Kotsinos wrote:

> [0] Alh8eia 3erei kaneis apo edw kapoio shmerino antistoixo ths pick :-)

bah... biasthka:

%cat pick.sh
#!/bin/sh

PATH=/bin:/usr/bin

case $# in
0)  echo "Usage: pick.sh \`command\`" 1>&2; exit 1
esac

for i
do
    echo -n "$i ? " > /dev/tty
    read response
    case $response in
    y*)   echo $i ;;
    q*)   break
    esac
done < /dev/tty
%

ie: pick `ls` | pr | lpr &

nai, nai... ta paidia paizei me to shell. Alla plhsiazoyn diakopes ;-)

--
" in the quiet words of Virgin Mary... come again? "





More information about the Linux-greek-users mailing list