What is branch in sed

Cameron Simpson cs at zip.com.au
Wed Aug 23 11:37:52 UTC 2006


On 23Aug2006 11:52, Dan Track <dan.track at gmail.com> wrote:
| I've searched and read documents on branching in sed (b) but I still
| can't get my head round it.
| 
| Could someone please explain to me how branching works, an example
| would be nice.

It's like goto. Here's an infinite loop:

	:foo
	b foo

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

It is important to affirm and prove that we go to the mountains to live
and not to die. - Guido Rey




More information about the fedora-list mailing list