You could save the output to bash vars instead of temp files and pass those in using diff <( echo $str1 ) <( echo $str2 )
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies:
You could save the output to bash vars instead of temp files and pass those in using diff <( echo $str1 ) <( echo $str2 )