• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle
  • That’s rpm, suse Linux 1.0 was never built off the same source or installer that Redhat Linux was.

    Do you have a historical example where any suse distribution used redhat based source? As opensuse as I said only used the rpm package manager, it never used any other components of a redhat derived install.

    Source: I work there and can find zero redhat strings in any old source code from that era, the old greybeards took offense to the implication that suse was ever based on redhat other than using rpm which at the time was about it for packaging.

    All they did was start to use rpm instead of tar for packaging.





  • I grew up on a farm, any programmer that thinks farming or ranching is better is gonna have a rude awakening as to why there are very few farmers anymore.

    So no not every computer guy dreams of the farm, repairing 10miles of fence every April for the entire month all day every day isn’t what I would consider an improvement over programming. And that’s the easy part wait till you gotta help an animal struggling to give birth.

    I get programmers have this idea that farming or ranching is more pure somehow but it is murder on your body and soul in ways you wont understand. programming and computer stuff is a cakewalk in comparison. more politics but learn to play the game of thrones and its not too bad.





  • mitchty@lemmy.sdf.orgtolinuxmemes@lemmy.worldRussian delete
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    Key here is the outer [] and interaction of $[], test doesn’t have == by default in standard posix, so no this isn’t posix shell or bourne compatible. Tis but another bashism. I could probably force zsh into a more bourne mode to try it but its definitely not portable bourne shell its bash.

    $ [ $[ $RANDOM % 6 ] == 0 ] && echo rm || echo ok
    zsh: = not found
    $ zsh --version
    zsh 5.9 (x86_64-pc-linux-gnu)
    

    == should be -eq for this to be posix/bourne portable, you could use = but -eq is for numeric comparisons so not quite right.