Code and comments

  • @SpaceNoodle@lemmy.world
    link
    fedilink
    58 months ago

    I’ve only ever found a use for sed once two decades into my career, and that was to work around a bug due to misuse of BigInt for some hash calculations in a Java component; awk remains unused. Bash builtins cover almost everything for which I find those are typically used.

    find and grep see heavy daily use.

    • That’s wild to me, as I used sed all the time. Quickly and easy changes in configs? Bam sed. Don’t even need to open vi when I can grep for what I need, then swap it with sed. Though I imagine more seasoned vi nerds would be able to do this faster.

    • @bizdelnick@lemmy.ml
      link
      fedilink
      08 months ago

      sed is not for daily use, it is for reusable scripts. For other purposes interactive editors are more convinient.