Into: I like learning by reading sources. But it's tiring of searching them across internet splited on many many different project sites. I'd love to see central browsable repo with sources of many many apps in one place.When someone want to find documentation of some Linux tool, bestplace is : man toolname.   When I want to browse Linux sources on-demand I can always jump to: Linux Cross Reference.When I want to find most common staff, I can find all sources inCoreutils.   When I want to check how to build something, I can (for example) jumpinto http://www.archlinux.org/packages/ , check it's pkgbuild.Is there any repo that holds sources of most of tools in one place ?- just like man holds documentation or Linux Cross Reference kernel sources.I mean something for rapid on-demand checking how stuff is implemented. (Yes, I know google -> but I am tired of routine: 1. searching project site 2. browsing repo or even worse -> checking out it's repo 3. deleting when finished)REMARK:I've stressed out, I'd like to check tools : rapidly, fast, on-demand.It means: I don't want to install whole app with it's sources just to take a look into it's sources. (btw. web resource is preferable, so I could check sources from many computers - I do not have admin on all of them)
Where is best place to find sources of standard linux command line tools?
linux;source;programming;opensource projects;learning
Let me to respond to your question with a alternative answer. I guess you want read the code for the traditional Unix command line tools, not only the GNU version of these. Read the code of similar tools from different projects is a good practice for learning different ideas and implementations.GNU has a nice web interface for the repo of coreutils: http://git.savannah.gnu.org/cgit/coreutils.gitThe BSD family has similar web interfaces for the repos:OpenBSD: http://www.openbsd.org/cgi-bin/cvsweb/src/DragonFly BSD: http://gitweb.dragonflybsd.org/dragonfly.git/treeNetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/src/FreeBSD: http://svnweb.freebsd.org/base/head/The BSD codebase is interesting because usually uses less code for the same tools, i.e.: only supports traditional options, no extra options, sh is a real shell and no just a link to other big shell (bash), etc. Tools similar to coreutils are within bin, sbin, usr.bin and usr.sbin.You can also browse the same web interfaces if you want read the code for to build third party software (similar to arch's pkgbuild). NetBSD and DragonFly use pkgsrc from the NetBSD repo. OpenBSD and FreeBSD have these frameworks within their respective repos.Other repos interesting for your purpose are:Illumos: http://src.illumos.org/source/xref/Minix: http://git.minix3.org/?p=minix.git;a=tree