#!/bin/sh # # ZINEBLORT: God, I'm getting sick of comparing magazines. # Writing a script to make it a little less painless. ls /textfiles/magazines /textfiles/webfiles/ezines echo "Your current directory name is `pwd`." echo "Name a directory to try this against." read BANANA if [ -d /textfiles/magazines/$BANANA ] then stealth /textfiles/magazines/$BANANA fi if [ -d /textfiles/webfiles/ezines/$BANANA ] then stealth /textfiles/webfiles/ezines/$BANANA fi echo "Done."