Re: ls command

Richard Dawe <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Hello.

N wrote:
> A little help please..... I'm currently trying to learn the programming
> language C in a Linux environment (RedHat 7.3). I'm trying to code my own
> version of the ls command -- will you please send me a copy of the source
> code for the ls command? This will enable me to test me learning against
> something. If you cannnot supply the code do you recommend any other
> sources?

Source code is available for all GNU software. If you try searching on Google
( http://www.google.com/ ), you should be able to get to the fileutils source
pretty quickly. But try here:

http://www.gnu.org/directory/All_GNU_Packages/fileutils.html

If you are just starting to learn C, fileutils may be a heavy package to learn
from. You might want to try one of the smaller GNU utilities - finger maybe?

Incidentally coreutils does not seem to be listed here yet:

http://www.gnu.org/directory/All_GNU_Packages/

Is a non-testing release required, before packages can appear there?

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.