Click to See Complete Forum and Search --> : Any BASH scripters up to this?


matt1776
09-10-2007, 10:37 PM
I have some lines of code that will not port from bash version 3.1 to bash 2.0 something.

I need to know how I could make this work in earlier versions of bash shell that did not have the regex bind operator:

if [[ "$IT" =~ "s" ]] && [[ ! "$INIT" =~ "$TD=" ]]