Thursday, November 29, 2007

Tiruvannamalai Temple

Wednesday, November 28, 2007

Random Thoughts - i++

Life is so unpredictable. You think something, something else happens. You think things are going fine. Suddenly you see there is some change. You start satisfying with something then suddenly some big boon come near to you.

There is another reason behind sadness is when you fail to achieve what you have targeted for. Then, in order to avoid it, then we shouldn't have any targets. if there is no such target then we can't reach higher positions?
Thinking whether setting up goals comes when you start comparing yourself with others? I think yes. Then there is only one reason for sadness is that when you start comparing yourself with others. :)

I don't know. Seems I am thinking more. :)

Monday, November 26, 2007

Quote of the day

Sadness comes to one's life only when the person start comparing himself/herself with others.

Though it is the good old one. But it is so true.

Tuesday, November 20, 2007

using tab as field separator while using sort command in bash shell

It was some what strange to me when I experienced that tab as field separator is not supported (not exactly supported. but didn't make it easy to use) in sort command in bash shell. Probably it depends on sort version. But, some how it didn't work in my machine.

The error that I got when I included tab as field separator is:
sort: multi-character tab '\t'

So, after doing search over the above error,here is one of the solutions that worked for me:
TAB=$(printf "\t")
and then using sort -t "$TAB".
For ex:
sort -t "$TAB" -k2,2 -n entries.txt

Friday, November 09, 2007

Tuna Sandwich - A veggie?

I went to attend a conference recently where I asked the serving person whether there is any vegetarian item available there. Here is the conversation that went on.
Serving Person: You have aloo salad to eat.
Me: Is there anything else to eat?
Serving Person: You have Tuna Sandwich which is a vegitarian.
Me: Are you sure? Does it contain meat?
Serving Person: No. It doesn't contain meat.
Me: Does it contain Egg?
Serving Person: Probably it may contain but no meat for sure.
So, I grabbed a Tuna Sandwich to eat and while I was about to eat, I saw a pure vegetarian person sitting beside me. I asked him whether he is not having this sandwich. Then he said it contains fish. So, the other lady who was sitting with us said "here, they don't consider fish as meat"!!!!!!!!!!!!!!

Funny.. :))
Moral of the story: Don't assume that non-veg item means meat. You should explicitly ask the serving people whether it contains fish, meat or what not!!!!