2

I have noticed that both are used in similar contexts, like:

MONTH=`date +%m`
DAY=$(date +%d)

So, I wonder:

  • Is there a difference between the two, or you can use them interchangeably?
  • Are both adhered to POSIX?
jimm-cl
  • 5,124
  • 2
  • 25
  • 27
  • @fedorqui Yes, you are correct - somehow, I didn't get that question suggested when I was creating this one... odd. What should I do with this question? Should I close it? – jimm-cl Jun 13 '14 at 13:51
  • 1
    Mmmm it is difficult to say, but to me it makes sense to keep this one. At the end, this is another "entry" to that concept, so some people may find this question and then go to that one, where the answers stay. – fedorqui Jun 13 '14 at 13:54

0 Answers0