spoiler

Hopefully it’s funny enough to offset that I’m reposting my own post.

  • thevoidzero@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    14 hours ago

    What if I write a program that checks argv[0] to decide which part of the code to run, and makes a bunch of symlinks

    • ThreeKnew@lemdro.id
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 hours ago

      Then that would kind of defeat the purpose

      But it’s not like you /have/ to adhere to the Unix philosophy or anything

    • CrumblyLiquid@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      11 hours ago

      That’s actually what BusyBox does I think. You have one executable for everything and it changes the behavior according to argv[0].