Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 3/15/12 1:00 PM, Bill Gradwohl wrote:
> I thought I understood about set -v, but apparently I still don't.
>
> How would I turn set -v on for the first case within a case statement, and
> off for the rest? I tried everything I could think of and nothing works.
> Turning it on before the case turns it on and nothing I tried will turn it
> off.
You can't. Bash always reads a complete command before executing any of
it. Are you sure you're not looking for set -x?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/