










Sig: Inserción de Texto
Sup: Expresiones Regulares en sed
Ant: Expresiones Regulares en sed
Err: Si hallas una errata ...
La orden b tiene la sintáxis:
[address1][,address2]b[label]
Transfiere el control a la etiqueta especificada. Si no se especifica
la etiqueta, el control se transfiere al final del script, por lo que
no se aplica ningún otro comando a la línea actual. Los dos siguientes
ejemplos utilizan b:
$ cat b.sed
s/fish/cow/
b
s/cow/horse/
$ sed -f b.sed b.test
cow
cow
Utilizando b con una etiqueta:
$ cat blabel.sed
s/fish/cow/
b another
s/cow/horse/
:another
s/cow/cat/
$ sed -f blabel.sed b.test
cat
cat











Sig: Inserción de Texto
Sup: Expresiones Regulares en sed
Ant: Expresiones Regulares en sed
Err: Si hallas una errata ...
Casiano Rodríguez León
2012-05-22