strmem() was not very well thought out. The thing is the following: If the string contains a zero character, we want to match it, and not stop right there in place. The "real" solution is to use memmem() where needed and replace all functions that assume zero-terminated-strings from standard input, which could lead to early string-breakoffs. This requires a strict tracking of string lengths.
		
			
				
	
	
		
			23 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| The following list of commands is taken from the toybox roadmap[0] and
 | |
| has been stripped down  accordingly.  Commands that belong to ubase[1]
 | |
| are not listed here as well as commands that fall outside the scope of
 | |
| sbase such as vi and sh are also not listed here.
 | |
| 
 | |
| at
 | |
| awk
 | |
| bc
 | |
| diff
 | |
| ed manpage
 | |
| patch
 | |
| stty
 | |
| 
 | |
| If you are looking for some work to do on sbase, another option is to
 | |
| pick a utility from the list in the README which has missing flags or
 | |
| features noted.
 | |
| 
 | |
| What also needs to be implemented is the capability of the tools to
 | |
| handle data with NUL-bytes in it.
 | |
| 
 | |
| [0] http://landley.net/toybox/roadmap.html
 | |
| [1] http://git.suckless.org/ubase/
 |