[BusyBox 0004094]: The sh "continue" statement doesn't work

bugs at busybox.net bugs at busybox.net
Mon Jul 14 22:48:04 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=4094 
====================================================================== 
Reported By:                jo
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   4094
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             07-14-2008 15:48 PDT
Last Modified:              07-14-2008 15:48 PDT
====================================================================== 
Summary:                    The sh "continue" statement doesn't work
Description: 
When I run this script:

#!/bin/sh

while true; do
        sleep 1
        for iter in 1 2 ; do   
                echo one
                continue
                echo two
        done
done

I get this output:

one
one
one
PX: not found
two
one
PX: not found
two
one
SIGSEGV

The details will vary depending on the number of items in the for loop.


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-14-08 15:48  jo             New Issue                                    
07-14-08 15:48  jo             Status                   new => assigned     
07-14-08 15:48  jo             Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list