On 8/4/07, Sushant Bhadkamkar <[EMAIL PROTECTED]> wrote:
> This did create a directory but I wasn't taken to it.After a bit of
> experimenting I found out that adding /bin/sh at the end (ie opening any
> subshell) does the work.
> My question is why does the script work this way?Is there any other way to
> do this?
Try sourcing your script. Assuming script name to be date-dir.sh, try this--
. date-dir.sh
or
source date-dir.sh
Hope that helps.
--
Vaibhav
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.