Does FreeBSD have the equivalent of DOS's {SET/END}LOCAL ? These commands allow a temporary change to the environment which is restored to the original with the ENDLOCAL command.
What I'm trying to do is run a script SCR2 from SCR1 both of which are in the same directory, but SCR1 does a cd so that SCR2 is not in CWD.
What I'm trying to do is run a script SCR2 from SCR1 both of which are in the same directory, but SCR1 does a cd so that SCR2 is not in CWD.