Web developer. Lead developer of PieFed

  • 254 Posts
  • 1.99K Comments
Joined 2 years ago
cake
Cake day: January 4th, 2024

help-circle















  • While it is technically possible to write shell scripts that do as much as what you’re attempting to, it’s not a good idea.

    Shell scripts generally don’t have the development environment necessary for debugging. You can’t pause execution based on a breakpoint and inspect variables, or step through the code line by line to watch the execution flow as it happens. Well, bashdb exists, but it’s quite hard to use.

    Without proper debugging tooling you’re limited to printing stuff out on the screen and trying to figure out what that means. That’s ok for short scripts (< 50 lines?) but yours is 700+ lines.