[BusyBox 0000697]: ash strstr command built-in

bugs at busybox.net bugs at busybox.net
Tue Feb 7 15:58:25 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=697 
====================================================================== 
Reported By:                nawawi
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   697
Category:                   New Features
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-07-2006 07:58 PST
Last Modified:              02-07-2006 07:58 PST
====================================================================== 
Summary:                    ash strstr command built-in
Description: 
add c-syntax strstr feature to ash shell.
if success return 1 else return 0.

example:

if strstr "i like cat" "cat"; then
  echo "found cat"
fi

strstr "i like cat" "cat"
if [ $? = 1 ]; then
 echo "found cat"
fi
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-07-06 07:58  nawawi         New Issue                                    
02-07-06 07:58  nawawi         Status                   new => assigned     
02-07-06 07:58  nawawi         Assigned To               => BusyBox         
02-07-06 07:58  nawawi         File Added: ash.c.patch                      
======================================================================




More information about the busybox-cvs mailing list