[Scottish] storing current directory

Allan Bruce allanmb at f2s.com
Thu Jan 22 15:46:29 GMT 2004


Thanks Allan
Allan


and to the other guys, just thought the above looked funny :o)


----- Original Message ----- 
From: "Allan Whiteford" <allan at whiteford.org.uk>
To: "SLUG-list" <scottish at mailman.lug.org.uk>
Sent: Thursday, January 22, 2004 3:38 PM
Subject: Re: [Scottish] storing current directory


> Allan,
>
> export AMB_TMP=`pwd`
>
> Note the use of back ticks, not normal quotes.
>
> Thanks,
>
> Allan
>
> Allan Bruce wrote:
> > Hi there,
> > I am modifying a script, and I need to be able to store the current
> > directory, so I can come back to it.  I tried
> >
> >     export AMB_TMP=pwd
> >
> > but it doesnt work, AMB_TMP becomes 'pwd' rather than the current
directory.
> > How would I do this?
> > Thanks
> > Allan
> >
> >
> >
> > _______________________________________________
> > Scottish mailing list
> > Scottish at mailman.lug.org.uk
> > http://mailman.lug.org.uk/mailman/listinfo/scottish
>
>
>
> _______________________________________________
> Scottish mailing list
> Scottish at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/scottish
>




More information about the Scottish mailing list