Hacker News new | ask | show | jobs
by d0gsg0w00f 1608 days ago
If it makes you feel any better, I can never remember BASH syntax. I have a gist where I keep all the common junk like for loops and array manipulation. Never had that problem in other languages as I can generally remember after 3 or 4 repetitions but my brain just can't grasp BASH syntax.
2 comments

BASH is the most unforgiving syntax on earth, I would never even try and memorize that stuff.
The correct way to write more than 5 lines of bash is to delete the file and write it in python. You will thank yourself when you have to modify it later.
BASH and Regular expression syntax are two things that mysteriously expire from my memory after two weeks. It’s almost comical.