[Top][All Lists]

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

Re: Bash RFE: Goto (especially for jumping while debugging)

From: Bob Proulx
Subject: Re: Bash RFE: Goto (especially for jumping while debugging)
Date: Mon, 22 Sep 2008 15:58:51 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

Richard Neill wrote:
> Dear All,

In the future please start a new message for a new thread of
discussion.  When you reply to old messages from three months ago
those of us who actually keep months worth of email see the message
threaded with the previous discussion about variables and subshells.
If anyone has killed that thread then the continuation is also killed.

> Here's a rather controversial request, namely that bash should support 
> 'goto'.

Although goto does have uses it is definitely a keyword of the

>         cat >/dev/null <<'label_foo'         ...     LABEL
> This has exactly the same effect.

I actually was going to reply and suggest exactly the above.  But then
realized you had already suggested it.

Normally I would do a commented out section.  Easy and non-controversial.
Or I would do if false; then...fi
For just a comment section this doesn't seem to be a compelling need.
For that you would need to show how writing state-machines or
something is so much easier or some such...

Since there are other possibilities I would vote to maintain the
status quo.


reply via email to

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