RustyNova@lemmy.world to linuxmemes@lemmy.world · 18 days agoUnix purists bullies another projectlemmy.worldimagemessage-square25fedilinkarrow-up1211arrow-down111file-text
arrow-up1200arrow-down1imageUnix purists bullies another projectlemmy.worldRustyNova@lemmy.world to linuxmemes@lemmy.world · 18 days agomessage-square25fedilinkfile-text
minus-squarethevoidzero@lemmy.worldlinkfedilinkarrow-up3·17 days agoWhat if I write a program that checks argv[0] to decide which part of the code to run, and makes a bunch of symlinks
minus-squareCrumblyLiquid@lemmy.mllinkfedilinkarrow-up10·edit-217 days agoThat’s actually what BusyBox does. You have one executable for everything and it changes the behavior according to argv[0]
minus-squareThreeKnew@lemdro.idlinkfedilinkEnglisharrow-up3·17 days agoThen that would kind of defeat the purpose But it’s not like you /have/ to adhere to the Unix philosophy or anything
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
That’s actually what BusyBox does. You have one executable for everything and it changes the behavior according to argv[0]
Then that would kind of defeat the purpose
But it’s not like you /have/ to adhere to the Unix philosophy or anything