#!/bin/sh

for each in $1*
do
echo "--------------------------------"
grep $each .descs
echo "--------------------------------"
more $each
echo "This should go into /textfiles/..."
read INPUT
if [ "$INPUT" = "" ]
    then
    echo "Well, work it out later."
    else

    if [ -d /textfiles/$INPUT ]
       then
       /textfiles/.move $each /textfiles/$INPUT
       else
       echo "OOPS. No such directory. Moving on.."
    fi
fi
done
