I usually work in bash in Linux, and if I need to export a variable I might write:
However, I am doing more Solaris work these days, and Solaris Admin's I work with will always write:
LC_ALL=C ; export LC_ALL
Is there a reason to prefer the latter over the former?
I guess that the former might not be recognised by some shells. Which ones?