What are Gs thought on Bash

What are G’s thought on Bash

A Conspiracy Theorist Is Talking Shirt $21.68

Shopping Cart Returner Shirt $21.68

A Conspiracy Theorist Is Talking Shirt $21.68

  1. 2 months ago
    Anonymous

    it's like powershell, but worse

    • 2 months ago
      Anonymous

      >power snail™
      Snappier than powershell

  2. 2 months ago
    Anonymous

    It is fun. Learning something new every day.
    https://github.com/dylanaraps/pure-bash-bible
    https://github.com/dylanaraps/pure-sh-bible

    • 2 months ago
      Anonymous

      cool stuff, thanks

      • 2 months ago
        Anonymous

        You are welcome. Have some more.
        https://devhints.io/bash

        • 2 months ago
          Anonymous

          Great cheatsheet, just saved it as pdf and txt. I mostly use pic rel and:
          https://www.gnu.org/software/bash/manual/
          plus the usual (help, info, man, etc.)
          and also:
          https://developers.redhat.com/cheat-sheets/bash-shell-cheat-sheet
          and other cheatsheets from redhat but apparently they now ask for an account before you can download them.

        • 2 months ago
          Anonymous

          learnxinminyminutes also has a repo you can clone for easy hoarding in case you lose access to the internet but still want to get a tldr on a new language:
          https://github.com/adambard/learnxinyminutes-docs

          • 2 months ago
            Anonymous

            Further reading at the bottom is bonus. Thank you.

            useful article on Greg's Wiki:
            https://mywiki.wooledge.org/BashPitfalls

            These I should learn first, methinks. Thank you, also.

        • 2 months ago
          Anonymous

          useful article on Greg's Wiki:
          https://mywiki.wooledge.org/BashPitfalls

      • 2 months ago
        Anonymous

        You are welcome. Have some more.
        https://devhints.io/bash

        neat, I love this type of shit

        Get a fricking job

        • 2 months ago
          Anonymous

          Move out of your parents basement

          • 2 months ago
            Anonymous

            You're poor.

            I have a job which means I don't have time to waste learning useless bash "tricks" shite

          • 2 months ago
            Anonymous

            You don't have time because you're stupid and your job sucks, loser.

        • 2 months ago
          Anonymous

          You're poor.

    • 2 months ago
      Anonymous

      neat, I love this type of shit

    • 2 months ago
      Anonymous

      Yeah you really can learn something new and useful every day with bash. You'll never run out of cool tricks, special cases, and zany unexpected behaviour, because it's an absolute clusterfrick.

  3. 2 months ago
    Anonymous

    sucks ass
    posix complaint shells FTW

  4. 2 months ago
    Anonymous

    Oooh, good info.

  5. 2 months ago
    Anonymous

    cringe

  6. 2 months ago
    Anonymous

    For non-complex scripts it's great. But I prefer zsh as the interactive shell.

  7. 2 months ago
    Anonymous

    is not good enough to avoid confusing new users

  8. 2 months ago
    Anonymous

    Some anon said the other day that IQfy HATES bash, so I guess I hate it, too.

    • 2 months ago
      Anonymous

      Is objectively a slow poorly designed mess (ANSI escaped characters shouldn't be a default behavior i.e.) would rather go plain POSIX if i had to bother. There're plenty of alternatives the industry should've moved to, but they wasted time trying to make Python work as a system land instead. Bash arrays are still nice for small tasks on the go.

      • 2 months ago
        Anonymous

        >Bash arrays are still nice for small tasks on the go.
        No they're not

        • 2 months ago
          Anonymous

          As nice as you can make them work on Bash, at least

  9. 2 months ago
    Anonymous

    it works and it's the most prevalent shell scripting lang. That makes me like it

  10. 2 months ago
    Anonymous

    it's okay, but kind of overcomplicated. plan 9's rc is better

  11. 2 months ago
    Anonymous

    it's absolute shit.

  12. 2 months ago
    Anonymous

    It's actually a good language to get stuff done but a b***h to learn because it is so unintuitive with random syntax. Good for Stackoverflow coding.

  13. 2 months ago
    Anonymous

    Pretty clunky for a scripting language.
    Probably lua would make a better shell language base, and hush is just proof of that. Only real drawback is the OOP bullshit but OOP is actually fine if you already don't want to think at all about program internals, say in a script or something.

  14. 2 months ago
    Anonymous

    deprecated by perl

  15. 2 months ago
    Anonymous

    I have written a critical backend in an asynchronous bash script that starts background processes, stores the background pids in a bash array with $! then waits for them to complete then loops again. Also this system is using a bunch of named pipes and shell redirection as a synchronization primitive to launch new background worker jobs. It's also making heavy use of associative arrays and for more complex data structures I have some deserialization functions using jq and shell substitution. Finally I'm using traps as a primitive form of exception handling. It's dead slow but it's extremely stable and surprisingly bug free, feature complete and with zero maintenance now, it hasn't crashed once, so no one has rewritten it in a better language.

    • 2 months ago
      Anonymous

      Bash is surprisingly ok if you make sure to delegate the most important data transformations to capable tools like sqlite, jq or a non ancient version of AWK.

      • 2 months ago
        Anonymous

        Well, yeah, it's just for file movement

    • 2 months ago
      Anonymous

      >Long lived bash process
      Why? Last time I did that, as a meme, I found it would randomly fail and if you read the bash bug tracker, there are sporadic reports similar to what I've seen. Maybe over a decade, they cleaned it up enough, but I would be wary of any long lived bash process.

  16. 2 months ago
    Anonymous

    Reading the manual is a great exercise for newbs. I wish I read it sooner!

  17. 2 months ago
    Anonymous

    zsh for boomers

    • 2 months ago
      Anonymous

      Get OUT mactard

      • 2 months ago
        Anonymous

        how did you know?

        • 2 months ago
          Anonymous

          Most zsh users are macgays because bash going GPLv3 made Apple seethe and zsh is, unfortunately, cuck licensed.
          I still use zsh basically everywhere myself and I don't own any Apple gayware.

          • 2 months ago
            Anonymous

            Don't care, I always
            brew install bash

            Zsh is shit, to me it feels clunky and distracting compared to the beautiful minimalism of my bash setup.

          • 2 months ago
            Anonymous

            But that history search tho

          • 2 months ago
            Anonymous

            What's so good about it?
            t. never used Zsh

          • 2 months ago
            Anonymous

            Changed my life

  18. 2 months ago
    Anonymous

    Fish is better
    Zsh is better
    Powershell (pwsh NOT POWERSHELL.EXE) is better

  19. 2 months ago
    Anonymous

    it's alright

  20. 2 months ago
    Anonymous

    :(){ :|:&};:

    • 2 months ago
      Anonymous

      >brew install bash
      copypasteme() {
      copypasteme | copypasteme &
      }
      copypasteme

Your email address will not be published. Required fields are marked *