#!/bin/bash $destdir=`perlscript.pl $1` cd $destdir exit I need to clarify one thing. You have to invoke the script with a . infront of it so that bash will *not* spawn a subshell. [host:/c]$ . mycd blah [host:/blah]$
-- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede males" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs