Skip to content

Comment on Ask HN: Rate my webapp: commandlinefu.com

Comments

I just realized what'd make a great feature, in my opinion: Add a "recommend alternate" option. For instance, if I see a command I know is suboptimal or there exist other tools that do the job better, I can submit an alternate way to perform the same action.

For instance, I see something like:

  find $PWD -type f -exec grep pattern {} \;
I can suggest an alternate to be:
  grep -r . pattern

This is the killer app for this sort of thing, cf. "useless use of cat", pgrep, etc.

You might want to have some sort of field for platform, since these things are going to vary from GNU/Solaris/*BSD.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.