Hacker News new | ask | show | jobs
by amelius 12 days ago
Yes, Bash has no place in modern software engineering.

The only reasons people still use it are historical and laziness.

If it was invented today, professionals would cringe at it.

1 comments

The submission begins with these examples:

    for f in *.txt; do
      wc -l "$f"
    done
   
      Or this?
   
    find . -name '*.sh' -exec wc -l {} +
   
      Or maybe you pipe into xargs and pray your filenames don't have spaces:
   
    find . -name '*.log' | xargs rm
Is that "software engineering"

Looks more like "system administration"