[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Why won't set -v work?
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Why won't set -v work? |
Date: |
Thu, 15 Mar 2012 19:40:22 -0400 |
User-agent: |
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/
- [Help-bash] Why won't set -v work?, Bill Gradwohl, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Eric Blake, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Greg Wooledge, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Bill Gradwohl, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Greg Wooledge, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Bill Gradwohl, 2012/03/15
- Re: [Help-bash] Why won't set -v work?, Steven W. Orr, 2012/03/16
- Re: [Help-bash] Why won't set -v work?, Bill Gradwohl, 2012/03/16
- Re: [Help-bash] Why won't set -v work?, Steven W. Orr, 2012/03/16
- Re: [Help-bash] Why won't set -v work?,
Chet Ramey <=
Re: [Help-bash] Why won't set -v work?, Bill Gradwohl, 2012/03/15
Re: [Help-bash] Why won't set -v work?, DJ Mills, 2012/03/15