Re:Command-line Fu
by silentbicycle on Sunday March 22, 2009 @09:30PM
(#527797)
I think that's a great idea, though it's worth noting that the command line options to commands can be subtly different between Linux and BSD (and sometimes different Linux distros). It helps when people use the long options (--quiet rather than -q), when available; they're usually easier to translate.
It is a little-pie-in-the-sky, I admit. The top command when I visited was `sudo`. What argument `sudo` takes depends upon the shell the user is using to execute `sudo`. Perhaps this could be a preference set somewhere, along with the OS being used. And maybe have a sister site where people contribute shell command grammars in some standardized syntax. I wonder how many people would be willing to provide those, though. Hmm.
This wasn't mentioned in the prior submission of this site, and it didn't occur to me until seeing it again. Just thinking out loud.