RustyNova@lemmy.world to linuxmemes@lemmy.world · 5 days agoUnix purists bullies another projectlemmy.worldimagemessage-square24linkfedilinkarrow-up1206arrow-down110file-text
arrow-up1196arrow-down1imageUnix purists bullies another projectlemmy.worldRustyNova@lemmy.world to linuxmemes@lemmy.world · 5 days agomessage-square24linkfedilinkfile-text
minus-squareeyesaremosaics@lemmy.ziplinkfedilinkarrow-up12·4 days agoSo… tar x should really be a separate program than tar c? They’re doing different functions
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up12·4 days agoYes, like gzip and gunzip
minus-squarethevoidzero@lemmy.worldlinkfedilinkarrow-up3·4 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-up9·4 days agoThat’s actually what BusyBox does I think. You have one executable for everything and it changes the behavior according to argv[0].
minus-squareThreeKnew@lemdro.idlinkfedilinkEnglisharrow-up3·4 days agoThen that would kind of defeat the purpose But it’s not like you /have/ to adhere to the Unix philosophy or anything
So… tar x should really be a separate program than tar c? They’re doing different functions
Yes, like
gzipandgunzipWhat 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 I think. 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