Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: