diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-14 06:01:14 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-14 06:01:14 +0000 |
commit | f4523562b615b8b2cfc8bcc7a962b4d0f5cb9168 (patch) | |
tree | 292257e3ebb8632bd292bf8a663c005aa36d1c0b /libpwdgrp/grent.c | |
parent | 8aac05bfe5ffdbc4c9591d7d5b486c0af0769a7a (diff) | |
download | busybox-f4523562b615b8b2cfc8bcc7a962b4d0f5cb9168.tar.gz |
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
Diffstat (limited to 'libpwdgrp/grent.c')
0 files changed, 0 insertions, 0 deletions