Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Aliases, Scripts seems to ignore them.< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 17 2006,18:07 QUOTE

If include in php is like include in c, then yes.
Sourcing a file into a script is essentially the same as running the file, except it uses the currently active process rather than starting a new one....so it's extending the current script with the contents of an external file as if the external file was a part of the script.
It's very useful for utilizing things like functions and variables that are applied to multiple scripts.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: June 18 2006,14:35 QUOTE

Quote (Zucca @ June 17 2006,12:41)
Is the source command just like 'include' in PHP?

In my view it's similar to virtual().

--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 18 2006,18:09 QUOTE

Ok. Thanks for the infos/advices. =)

--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
12 replies since June 16 2006,02:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Aliases

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code