> -----Original Message----- > From: Rui Miguel Seabra [mailto:rms@xxxxxxxx] > Sent: Monday, December 15, 2003 5:35 PM > To: fedora-list@xxxxxxxxxx > Subject: RE: Nautilus Scripts > > > btw an improved version? > Haven't had a chance to test this out.. Can I ask anyway?? 1. EXT=".txt" 2. BNAME=`basename $New_Document $EXT` 3. if test ! $New_Document == $BNAME ; then 4. New_Document=$BNAME 5. fi 6. echo "$New_Document" Line 3 will test if anything was typed into the zenity dialog box??? NewB here.