ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
General fluff
>
Off-Topic
>
Longcat
Pages:
1
« previous
next »
Print
Author
Topic: Longcat (Read 3845 times)
Rusky
Posted on:
March 26, 2010, 03:27:56 pm
Joined: Feb 2008
Posts: 954
Just thought this was interesting:
Here is cat from first edition unix:
http://code.google.com/p/unix-jun72/source/browse/trunk/src/cmd/cat.s
. Very short bit of assembly that I don't fully understand. What I do looks fine, it's just cat.
Here is cat from Plan 9:
http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/cat.c
. Extremely simple C program, copies either stdin or a list of files to standard output. Can't compare it to original cat, but if it does any more it's just the list of files.
Now, here's GNU cat:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/cat.c;hb=HEAD
. HOLY LONG CODE. This is cat, for crying out loud!
«
Last Edit: March 27, 2010, 12:51:26 pm by Rusky
»
Logged
[
www.abubalay.com
]
RetroX
Reply #1 Posted on:
March 26, 2010, 06:12:16 pm
Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
I first expected the animal when I entered this topic.
Most of the GNU code is either comments or whitespace, anyways. But I do agree that it's a whole lot of code.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars?
Rusky
Reply #2 Posted on:
March 26, 2010, 06:37:13 pm
Joined: Feb 2008
Posts: 954
It's just as odd- what could you possibly be commenting on in cat? XD
Logged
[
www.abubalay.com
]
RetroX
Reply #3 Posted on:
March 26, 2010, 08:41:32 pm
Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
...the fact that it's insanely large, so, comments.
Also, cat is 44024 bytes large.
«
Last Edit: March 26, 2010, 08:44:41 pm by RetroX
»
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars?
Rusky
Reply #4 Posted on:
March 27, 2010, 12:51:10 pm
Joined: Feb 2008
Posts: 954
Longcat, I just realized.
Logged
[
www.abubalay.com
]
RetroX
Reply #5 Posted on:
March 27, 2010, 12:55:15 pm
Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
GNU says: "My cat is bigger than your cat"
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars?
Pages:
1
Print
« previous
next »
0