and it dealt with it reasonably well. The only part it couldn't understand was `branch -d` at the end. In other words, it was not capable of recognizing that the non-option arguments to `xargs` should actually be recursively interpreted as a command-line.
Given the height of the result, scrolling up and down became a real pain. Maybe collapsable sections or position:fixed for the command or something like that?
Would you believe it if I told you it's running on the smallest digital ocean instance, backed by MongoDB (!), and the only time I had to do any maintenance on it was when DO turned down the machine I happened to run on? The service doesn't exactly scream complexity, but it's nice when you put something out there and it just runs!
I would love it if the site was encrypted so that I could input raw commands at work without modifying sensitive information. (Yes I understand the host can still record this sensitive information, and no I have not looked through the source code yet to see that this doesn't occur).
This works well, but the web interface seems like an unnecessary layer on top of what could just be a terminal based tool. I'm trying to resist the urge to fork this, putting another project on my todo list I will never finish
The lines connecting each explanation to the relevant part of the command line could be tricky to squeeze into a terminal window. You'd could instead create an interface with a movable "cursor", which highlights a single "chunk" of the command line, and presents the explanation for that "chunk" beneath the entire command line string.
Does anyone know where I can find a completely offline tool that does what this site does?
The source for this seems like a bit of overkill. I'd like to be able to use a cli based tool that shows me relevant man sections for the flags I chose for example
1. Broken on mobile :(. Default layout is a mess, and "request desktop site" has the lines going to the edge of the screen, making them invisible. S7, Android, Firefox.
2. Totally neeeds to be done as an Emacs mode (preferably offline). Both for checking a particular command and during writing shell scripts.
Cool tool. I think what would really be the icing on the cake is if it substitued the actual command into the documentation. Removing that one layer of indirection would make it that much easier to understand.
For example:
foo() { bar }
> This defines a function named "foo".
Also that example fails to parse. Even though :() { :|: };: works so it seems like there is a certian amount of special casing.
If you hover over something that points to a description that's not currently in view, you can't scroll to the description without unhovering and hence unhighlighting the line pointing to the right description.
There are several commands on OS X that behave a bit differently from their traditional UNIX counterparts. grep is the big one that springs to mind—any given grep shell-fu may just not work on OS X and I'll find myself having to reconstruct the arguments from scratch to get it working.
I'd love to see a fork of explainshell or an option in the interface to deal with items like this which are specific to OS X. Let me put a grep command in for OS X and have it show me what options I'm using which are undocumented—that would be nifty.
[+] [-] sjrd|9 years ago|reply
[+] [-] tsneed290|9 years ago|reply
[+] [-] elevensies|9 years ago|reply
[+] [-] zufallsheld|9 years ago|reply
[+] [-] bradbeattie|9 years ago|reply
[+] [-] IE6|9 years ago|reply
[+] [-] dang|9 years ago|reply
https://news.ycombinator.com/item?id=6296634
https://news.ycombinator.com/item?id=6834791
[+] [-] idank|9 years ago|reply
Would you believe it if I told you it's running on the smallest digital ocean instance, backed by MongoDB (!), and the only time I had to do any maintenance on it was when DO turned down the machine I happened to run on? The service doesn't exactly scream complexity, but it's nice when you put something out there and it just runs!
[+] [-] The_Hoff|9 years ago|reply
[+] [-] boramalper|9 years ago|reply
Still, the website might be running on a modified version.
[+] [-] Ajedi32|9 years ago|reply
[+] [-] dwpdwpdwpdwpdwp|9 years ago|reply
[+] [-] mih|9 years ago|reply
[+] [-] dullgiulio|9 years ago|reply
[+] [-] tmerr|9 years ago|reply
[+] [-] tomjakubowski|9 years ago|reply
[+] [-] LostCharacter|9 years ago|reply
[+] [-] mabynogy|9 years ago|reply
https://github.com/mattboyer/optenum
[+] [-] bigbugbag|9 years ago|reply
[+] [-] erikig|9 years ago|reply
[+] [-] fbis251|9 years ago|reply
The source for this seems like a bit of overkill. I'd like to be able to use a cli based tool that shows me relevant man sections for the flags I chose for example
[+] [-] TeMPOraL|9 years ago|reply
Some quick notes on my way back from work:
1. Broken on mobile :(. Default layout is a mess, and "request desktop site" has the lines going to the edge of the screen, making them invisible. S7, Android, Firefox.
2. Totally neeeds to be done as an Emacs mode (preferably offline). Both for checking a particular command and during writing shell scripts.
[+] [-] tdrd|9 years ago|reply
Looks like it doesn't deal with subshells, but otherwise it did reasonably well.
http://explainshell.com/explain?cmd=find+.+-name+*.pb.cc+%7C...
[+] [-] btschaegg|9 years ago|reply
It seems to rely strongly on common *NIX CLI patterns though. It really doesn't like dd, for example[1].
[1]: http://explainshell.com/explain?cmd=dd+if%3D%2Fdev%2Fsda+of%...
Edit:
Also, it doesn't understand that the token after `-p` for netcat is actually the port argument[2]. I guess it is parsing manpages internally?
[2]: http://explainshell.com/explain?cmd=nc+127.0.0.1+-p+80
[+] [-] idank|9 years ago|reply
[+] [-] frankhorrigan|9 years ago|reply
[+] [-] umanwizard|9 years ago|reply
[+] [-] kevincox|9 years ago|reply
For example:
foo() { bar }
> This defines a function named "foo".
Also that example fails to parse. Even though :() { :|: };: works so it seems like there is a certian amount of special casing.
[+] [-] idank|9 years ago|reply
Your command isn't valid because it's missing a control character after 'bar', such as ';'. Bash rejects it as well:
[+] [-] augustt|9 years ago|reply
[+] [-] cheeze|9 years ago|reply
echo $(( 1 + 2 ))
[+] [-] phaemon|9 years ago|reply
[+] [-] cat199|9 years ago|reply
[+] [-] danellis|9 years ago|reply
[+] [-] idank|9 years ago|reply
[+] [-] JasonSage|9 years ago|reply
I'd love to see a fork of explainshell or an option in the interface to deal with items like this which are specific to OS X. Let me put a grep command in for OS X and have it show me what options I'm using which are undocumented—that would be nifty.
[+] [-] umanwizard|9 years ago|reply
[+] [-] stirner|9 years ago|reply
[+] [-] alpb|9 years ago|reply
[+] [-] idank|9 years ago|reply
http://explainshell.com/explain?cmd=%5B+-f+foo
[+] [-] abraves10001|9 years ago|reply