bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't suspend out of read


From: Chet Ramey
Subject: Re: can't suspend out of read
Date: Mon, 3 Dec 2001 09:00:26 -0500

> Hurmf, Can't suspend
> $ read important_variable_1 important_variable_2
> with C-z.

Of course not.  `read' is a shell builtin.  No separate process
is spawned to execute it.

> Anyways, if the 'read' is in a script one can C-z out if necessary,
> but not in the interactive shell...

One may suspend the entire script, since a separate shell was invoked
to interpret it.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]