Re: bug-report/request: allow "set +n" to re-enable commands.
For 1, use a heredoc to a noop. Sorry for the terse reply, on my phone. On 23 Mar 2013 05:07, "Richard Neill" wrote: > Dear All, > > Might I suggest/request that "set +n" should undo the effect of > "set -n" ? > > For example: > > #!/bin/bash > echo one > set -n >
bug-report/request: allow "set +n" to re-enable commands.
Dear All, Might I suggest/request that "set +n" should undo the effect of "set -n" ? For example: #!/bin/bash echo one set -n echo two set +n echo three would print: one three Here's why I think it would be useful: 1. Bash do