On 6/27/16 12:52 PM, #pragma wrote:
> Thank you for the answer. I would agree with you, but there is something
> more.
> If I change command from the first step to this:
>
> user@host:~$ exec man man man
>
> and leave other steps as were before, then bash crashes as well. Also on
> tty logins.
Again, what do you expect to happen? You replace the bash process -- it
goes away. As soon as the man process terminates, your session ends. This
is what `exec' does.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/