[net.unix] pwd into a shell vbl.

kvancamp@ardec.arpa (Kenneth Van Camp -FSAC-) (07/09/86)

Is there some way to store the working directory name in a variable
in a (Bourne) shell script? That is, I want to take the output of 'pwd'
and store it in a shell variable. Please respond directly to me,
as I am not on the maillist. Thanks in advance.

		  --Ken Van Camp <kvancamp@ARDEC.ARPA>

drears@ardec.arpa (07/11/86)

Ken:

   Try WORKDIR=`pwd`

This should do it.

Dennis