08-27-2004
ls command source code
Hi all,
I want to know how ls was implemented in linux.;
How to view the source code? filename/sitename...?
thanks
9 More Discussions You Might Find Interesting
1. Programming
I am with the research of the source code of the command root truss.c(but not that on sun solaris because I find it too complex). But I would like also the source code dbx.c. Thank you in advance.
Patrick. (0 Replies)
Discussion started by: Sacchi
0 Replies
2. Programming
hello, it is still me in the search of source code of dbx.c this time. Or if there would be somebody who would know how recovered the name of the function carried out by a thread, that would be nice of me the statement. Thank you in advance. (0 Replies)
Discussion started by: Sacchi
0 Replies
3. Linux
Hi ,
where can i get free source code for LINUX commands , OS , system calls etc.
Thanks
Naren (2 Replies)
Discussion started by: naren_chella
2 Replies
4. Post Here to Contact Site Administrators and Moderators
tha ithela na moy peite an mporo apo kapoy na vro ton pigaio kvdika toy unix
se glossa c .efxaristo. (1 Reply)
Discussion started by: matsoyka
1 Replies
5. Shell Programming and Scripting
Does anybody know where this is located? Both for getopt and getopts (1 Reply)
Discussion started by: dhinge
1 Replies
6. Shell Programming and Scripting
Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies
7. Shell Programming and Scripting
Hi,
I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory.
finally {
if (null != hibernateSession && hibernateSession.isOpen()) {
//hibernateSession.close();
}
}
It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies
8. Linux
I need the source code of fedora.
plz plz plz help me........... (1 Reply)
Discussion started by: neh
1 Replies
9. UNIX for Dummies Questions & Answers
hii...
i am a biginner....and i have linux source code ,downloaded from some website ,a compressed file on windows and dont know how do compile them..... (4 Replies)
Discussion started by: M K Raju
4 Replies
LEARN ABOUT OPENDARWIN
source
source(n) Tcl Built-In Commands source(n)
__________________________________________________________________________________________________________________________________________________
NAME
source - Evaluate a file or resource as a Tcl script
SYNOPSIS
source fileName
source -rsrc resourceName ?fileName?
source -rsrcid resourceId ?fileName?
_________________________________________________________________
DESCRIPTION
This command takes the contents of the specified file or resource and passes it to the Tcl interpreter as a text script. The return value
from source is the return value of the last command executed in the script. If an error occurs in evaluating the contents of the script
then the source command will return that error. If a return command is invoked from within the script then the remainder of the file will
be skipped and the source command will return normally with the result from the return command.
The end-of-file character for files is '32' (^Z) for all platforms. The source command will read files up to this character. This |
restriction does not exist for the read or gets commands, allowing for files containing code and data segments (scripted documents). If |
you require a ``^Z'' in code for string comparison, you can use `` 32'' or ``u001a'', which will be safely substituted by the Tcl inter- |
preter into ``^Z''.
The -rsrc and -rsrcid forms of this command are only available on Macintosh computers. These versions of the command allow you to source a
script from a TEXT resource. You may specify what TEXT resource to source by either name or id. By default Tcl searches all open resource
files, which include the current application and any loaded C extensions. Alternatively, you may specify the fileName where the TEXT
resource can be found.
SEE ALSO
file(n), cd(n)
KEYWORDS
file, script
Tcl source(n)