• @ziggurism@lemmy.world
        link
        fedilink
        91 year ago

        It shows that Unix’s implementation of echo uses 10 lines of code, other *nixen use 60 to 100, and gnu uses 250. The implication being, I suppose, that GNU has such a high line of code count because it’s very verbose or padded

      • @nottheengineer@feddit.de
        link
        fedilink
        81 year ago

        Implementation is the actual code with the logic that does the thing you want it do, as opposed to the command, which is how you tell the system what it should do.

        The command can be the same on multiple OSs, but the implementation can be different.

        In case of Linux and the coreutils (which are the basic programs you need beside the kernel to make a functioning system, stuff like mkdir) the most common implementation of all the coreutils is the one made by GNU. Stallmann did a lot of work on that so he wants credit for making a big part of the OS.

      • Rikudou_SageA
        link
        41 year ago

        The same program (echo) implemented in different operating systems (and the GNU version).

    • Rikudou_SageA
      link
      41 year ago

      Well, no surprise they have more lines of code. And that’s even if you disregard printing help.