I am getting current date and checking for length of date if non-zero then perform some action.now=$(date)echo $nowif [[ -n $now ]]; thenecho not emptyfiPrints this to console- Mon Feb 17 01:51:38 CST 2014Unrecognized Type: Monnot emptyif [[ -n $now ]]; then -> this line is causing shell to throw Unrecognized Type: warning, Is there something wrong with the check -n ?
Unrecognized Type: for length of date string
bash;shell;osx