1 2 3 4 5 6 7 8
if([[ ]] STREQUAL "" AND [[a b]] STREQUAL "a\nb") message("CRLF->LF worked") else() message(FATAL_ERROR "CRLF->LF failed") endif()