diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-14 06:01:14 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-14 06:01:14 +0000 |
commit | 78c58fd2b8dad30a309560fb597834f0265aff18 (patch) | |
tree | 292257e3ebb8632bd292bf8a663c005aa36d1c0b /shell | |
parent | 1ea68a2e2c72d6bb102d0d75b50c0e54b46b6542 (diff) | |
download | busybox-w32-78c58fd2b8dad30a309560fb597834f0265aff18.tar.gz busybox-w32-78c58fd2b8dad30a309560fb597834f0265aff18.tar.bz2 busybox-w32-78c58fd2b8dad30a309560fb597834f0265aff18.zip |
Fix branching commands.
If a label isnt specified, jump to end of script, not the last command
in the script.
Print an error and exit if you try and jump to a non-existant label
Works for the following testcase
# cat strings
a
b
c
d
e
f
g
# cat strings | ./busybox sed -n '/d/b;p'
a
b
c
e
f
g
git-svn-id: svn://busybox.net/trunk/busybox@7502 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions