startx file



Hello all,

This question is not related to gnome, but I thought I could clarify
my doubt here itself.  Please ignore this mail if not interested.

In the startx file I see something like

if [ "x$serverargs" = x ]; then
   serverargs="$1"
else
   serverargs="$serverargs $1"
fi

I dont know why there is/was such a need.  I feel that this
if condition can just be replaced with

serverargs="$serverargs $1"

Am I right or did I overlook something?

Also,  one of the patterns in the while loop is (do refer to
the startx file, if you have got the time and patience)

/''*|\.*)

Can anyone help me know why there are two single quotes there in
that pattern?  I am not saying its not required, but I dont know
what its doing there.

I apologize for asking such an off-topic question.  But the problem 
is I am subscribed to so many mailing-lists and non of them are
related to shell scripts and I am trying to avoid subscribing to
new mailing lists.  Hope you all would understand :-X

Thanks for your time.

Rgds,
anna

-- 

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead.  - RFC 1925






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]