Monday, November 12, 2007

The Variable called girl_of_my_life

In you shell, a variable called girl_of_my_life is defined the moment you see her. You might use the variable for various scripts. After a while, you might think the variable is junk and shouldn't be used in any of your scripts. In fact you might even succeed in not using the variable at all.
Just type
>echo $girl_of_my_life
and you see the value still remains.

Now you get the picture? Unless overwritten, the variable girl_of_my_life has the previous value.

7 comments:

Josh said...

>echo $girl_of_my_life
Returned value..
Too much harmful binary data.Still want to view?

Flush and replace soon mags!

viski said...

Hehe...it might have returned in your case... in my case it never returned.

wish there was a flush command.

Cane-an said...

Try doing this:
$girl_of_my_life = 0

See what happens then...

viski said...

Segmentation fault. You'r dumped.

Anonymous said...

It always says
"Undefined variable" in my case :(

Anonymous said...

Type this
$yes i love you

It will be more fun

viski said...

Adil sir...you are adding new variables..which is not acceptable...pehla hi variable ka value pata nahin...u are expecting too much from life.