Hacker News new | past | comments | ask | show | jobs | submit | helper-method's comments login

Nicely written tutorial. The only thing I would suggest is always prefering [[ to [ because it makes dealing with parameter expansions much more easier. Also [[ is most likely as shell builtin, in contrast to [, which is most likely an external program.


> The only thing I would suggest is always prefering [[ to [ because it makes dealing with parameter expansions much more easier.

I wrote the article before Bash 3 was released, and the article remains appropriate for platforms that don't have Bash 3 abilities. If you read down in the article, you will see where I address this issue:

http://arachnoid.com/linux/shell_programming.html#Bash_Versi...


I was really disappointed after reading the article. It was far too short, and contained no useful information. Actually, what is the point of such articles anyhow?


To push their ads. These articles are perfect for sites like these and sites like LifeHacker probably make a tidy sum of money from the Reddit/HN and previously Digg crowd.


Your comment is the reason why I detest the community on HN. If I would have put my personal time into this, and would read such a comment, I would find it extremely demotivating. The solution may not be perfect but it would be much more helpful if you constructive criticism instead of this.


I was noting this yesterday in the DollarDollarJS thread ... presumably in the quest for "karma," flaming open-source projects has really gotten popular over the past eight months or so on this website (I think that flaming of startup ideas has always been a feature, however).


So true. I'm working on 2 personal projects at the moment. Sometimes I spend hours on it, sometimes only minutes. But I work on them EVERY single day. It always fun working on them. There is no fixed schedule, there are not milestones (ofc the is some sort of vision), still I progress quite fast and stay motivated.


same here. work slowly but sure, spend at least few minutes a day answering customer inquiries, spend weekend for coding, while keeping my day job. but reading funding news in HN and TC makes me sad and feel "left behind" :(


Thanks for the nice words @rglover. I'm wondering do other people know about your projects or is it a personal, stealth thing? Also I don't think that is helping @wiradikusuma. Is funding something you are actively pursuing? I wouldn't worry about that, build something with a little revenue possibility, or at least something that people will enjoy using. Then you can still eye the whole funding news?


When I look for inspiration for new projects or new ideas, I often look out for posts like yours. Things that people would love to have, which don't exist yet and solve a real problem. This is a really great idea... maybe when I have some time to spare somewhere in the near future, I will try to implement something like that :-).


So? Sry I don't get it...


Worst post on HN ever.


What's V6?


A month ago I finished a project for university, involving Node.js - nothing more. At the beginning, I've started with Node.js, mongoDB, socket.io. express and connect. Half way through the project, I realized I would never be able to deliver in time. So I started to cut out technologies... first mongoDB, socket.io, express, and in the end, even connect. Even dealing with Node alone, I had a hard time finishing my project... but I did. I still got quite a good grade because in contrast to my fellow students, I was able to deliver.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: