[Scottish] storing current directory

Elwell, AD (Andrew) A.D.Elwell at dl.ac.uk
Thu Jan 22 15:38:24 GMT 2004


>     export AMB_TMP=pwd

welcome to backticks...
	#!/bin/sh
	AMB_TMP=`pwd`
	cd /some/New/Dir
	cd $AMB_TMP



More information about the Scottish mailing list