I have to run a set of commands under a special environment with in a shell that changes the prompt. Is it possible to do this in ksh, csh or sh and not have to install Tcl/Expect.
invoke new environment:--> this changes propmt from # to $
Run commands there
Type exit to come to main shell
Parse the data
If needed, reinvoke the 2nd shell
do the above again.
invoke new environment:--> this changes propmt from # to $
Run commands there
Type exit to come to main shell
Parse the data
If needed, reinvoke the 2nd shell
do the above again.