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

it seems like most people that have dislike bash never spent the time to learn it.

I have a love/hate relationship with is. I started with computers in 2000 and wrote a ton of bash for various things. Compiling software, running cicd, adhoc batch jobs, etc.

I've managed many cicd pipelines with bash in my time. While it's not great, once you know the basics, you can be very successful. That being said, rewriting the bash "program" in another language is much advised. If your bash is over a few hundred lines, chances are you've outgrown it

Some things in bash (mainly pipes and redirection) are just too easy. Job control is also great. The 'process' and 'shell script' are two primitives that make a lot possible.

Trying to do pipes or redirection in python is awful. There are a ton of subtle bugs you have to worry about



Seems like you spent the time to learn it and still dislike it?


hope it didn't seem like I dislike it. It's just a tool for a job.

I still write bash and love it for the simple things. Now I have the experience to rewrite it early before it gets out of hand.




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

Search: