• wwb4itcgas@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    I have a confession to make: Unless shell script is absolutely required, I just use Python for all my automation needs.

  • Pixelbeard@lemmy.ca
    link
    fedilink
    Français
    arrow-up
    1
    ·
    4 days ago

    Je comprend tellement! Je répond en français pour ma première réponse sur Lemmy juste pour voir comment ça va être géré!

  • conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 days ago

    Regex

    Edit: to everyone who responded, I use regex infrequently enough that the knowledge never really crystalizes. By the time I need it for this one thing again, I haven’t touched it in like a year.

    • 9point6@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      You get used to it, I don’t even see the code—I just see: group… pattern… read-ahead…

    • CrazyLikeGollum@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      Or scripts for basically any other variant of the Bourne shell. They are, for the most part, very cross compatible.

      • Tinidril@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        That’s the only reason I’ve ever done much of anything in shell script. As a network administrator I’ve worked many network appliances running on some flavor of Unix and the one language I can count on to be always available is bash. It has been well worth knowing for just that reason.