Comment 60 for bug 1094218

Revision history for this message
Alexandre Magno (alexandre-mbm) wrote :

From #57:

  $ . /etc/lsb-release; echo $DISTRIB_DESCRIPTION
  Ubuntu 12.04.2 LTS

From #39:

  $ cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d= | sed 's/\"//g'
  Ubuntu 12.04.2 LTS

From #40:

  $ cat /etc/lsb-release | grep DESCRIPTION | cut -f2 -d'"'
  Ubuntu 12.04.2 LTS

The solution from #57 (first above) is simpler and better.