I am trying to run
diff <(tar -tvf HIVE_CLIENT.tar.gz | sort) <(tar -tvf YARN_CLIENT.tar.gz | sort)
putting this command inside script, when I execute script it shows error
syntax error near unexpected token `(' "
But when I do not put inside script rather than run from shell directly it works.