help-bash
[Top][All Lists]
Advanced

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

[Help-bash] Why won't set -v work?


From: Bill Gradwohl
Subject: [Help-bash] Why won't set -v work?
Date: Thu, 15 Mar 2012 08:18:10 -0600

I'm experimenting and came up with something I can't explain.

#!/bin/bash
declare parm='pass1'
#case "${parm}" in
#   'pass1')
      set -v
      if true; then echo True; fi
#    ;;
#   *)
#   echo Hello
#   ;;
#esac

When executed, the above works as expected.

If you remove the octothorpes to activate the case statement and run it again, the set -v appears non functional.

Why?

Thank You

--
Bill Gradwohl


reply via email to

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