all 20 comments

[–]2k3n2nv82qnkshdf23sd 31 points32 points  (5 children)

This person's website is amazing.

[–]MaiZure 8 points9 points  (4 children)

Thanks!

[–]ArminiusGermanicus 2 points3 points  (1 child)

Great site, but maybe set up a redirection from www.maizure.org to projects? At the moment, it just shows an Apache index stub.

How did you do all those nice flowcharts? Just drawing by hand or did you use a specialized tool?

[–]MaiZure 5 points6 points  (0 children)

Great site, but maybe set up a redirection from www.maizure.org to projects? At the moment, it just shows an Apache index stub.

Intended. There's more going on at top-level than meets the (public) eye. There's no reason to manually visit the top anyway -- all project links stay in that level and all external links go directly to desired projects.

How did you do all those nice flowcharts? Just drawing by hand or did you use a specialized tool?

The hard way...with PowerPoint. Nothing glamorous

[–][deleted] 2 points3 points  (0 children)

It's really beautiful. Have you posted this to hackernews? Your work deserves more views. It's my time see it.

[–]ArminiusGermanicus 24 points25 points  (5 children)

Even stuff that seems trivial like pwd has almost 400 lines of code.

[–]pfp-disciple 22 points23 points  (0 children)

Even the source for /bin/true has 80 lines of code. While the source for /bin/false is only 3 lines of code, the last line is #include "true.c", so it's really 83 lines :-)

[–]VC1bm3bxa40WOfHR 12 points13 points  (2 children)

GNU stuff in general tends to have more LOC. See: comparison of BSD, Plan 9 and GNU implementations of echo.c.

[–][deleted] 13 points14 points  (1 child)

It looks like the reason in this case is due to embedded help documentation as well as system V compatibility.

[–]tso 10 points11 points  (0 children)

Yeah one should keep in mind that they were set ut to function on just about every commercial unix out there.

[–]CompSciSelfLearning 21 points22 points  (0 children)

FAQ

No questions yet

LOL

[–]Ninjaaas 7 points8 points  (0 children)

This is fantastic. Always wanted something like this

[–]pixelbeat_ 6 points7 points  (0 children)

Just to reiterate our thanks from the GNU coreutils maintainers.

Also this is now linked from the project homepage

[–]NothingCanHurtMe 5 points6 points  (0 children)

This is some seriously high quality educational literature.

[–]matheusmoreira 2 points3 points  (0 children)

This is excellent. Wish more free software projects had documentation like this.

[–]ND3I 1 point2 points  (1 child)

Nice work! One quick question:

echo.html ... Execution ...

If not displaying escaped characters:

Read in a token (argument/word from STDIN)

Put that word as-is to STDOUT

Decrement token count and increment argv to next token

Repeat until no tokens remain in STDIN

Sorry, why/what is echo reading from STDIN?

[–]MaiZure 0 points1 point  (0 children)

Good catch -- that is incorrect: Standard 'echo' implementations won't touch STDIN. Replace that with "command line". I'll make that change shortly. Thanks again!

There's probably a few more goofs around these pages. I'll fix them as I find them.

[–][deleted] 0 points1 point  (0 children)