View Single Post
Old 07-01-2012, 09:28 AM   #37
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 4,262
Karma: 3921781
Join Date: Feb 2012
Device: K0
The $? exit status variable will (**should**) work in busybox.
If using the busybox implementation of grep, that might work differently.

If you where running a Linux system (even a LiveCD one) you could get a busybox command shell by:
/bin/busybox ash

I don't have a clue if that will work under Cygwin, I never use Cygwin.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan - -> JB on BD
knc1 is offline   Reply With Quote