Quantcast
Channel: What does this if-then statement mean? - Ask Ubuntu
Browsing latest articles
Browse All 3 View Live

Answer by mook765 for What does this if-then statement mean?

The script /usr/bin/startxfce4 seems to be generated by a parser, we can see that when we look at the source code, let's take a look at the corresponding snippet: if test "x$XDG_DATA_DIRS" = "x" then...

View Article



Answer by Melebius for What does this if-then statement mean?

You are right, the command test "x/usr/share" = "x/usr/local/share" -o "x/usr/share" = "x/usr/share" returns true (0) always. It looks like if the file in question was generated from a more generic...

View Article

What does this if-then statement mean?

Playing around in my system, I stumbled upon ~$ echo $XDG_DATA_DIRS /usr/share/ubuntustudio:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share Asking myself why /usr/share...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images