Chris Marusich writes: > Pierre Neidhardt writes: > > [...] > >> Shouldn't it be '"$1"/etc/profile'? And no "exec ..."? Without the "exec", the second shell will spawn a new process. With the "exec", it will not spawn a new process. It works either way. I just decided to use "exec" to avoid spawning a new process. -- Chris