INSTALL.md: Restore $ as command prompt indicator#12257
INSTALL.md: Restore $ as command prompt indicator#12257levitte wants to merge 1 commit intoopenssl:masterfrom
Conversation
We have a notational convention in INSTALL.md, which says this among others: > Any line starting with a dollar sign is a command line. > > $ command > > The dollar sign indicates the shell prompt and is not to be entered as > part of the command. That notation exists to make it clear what is a command line and what's output from that command line.
|
Does OpenSSL have the issue in other places, like manpages? "git grep '^ '" might be useful. |
|
Repeating some comments of mine that apparently were ignored being in https://github.com/openssl/openssl/pull/12175/files#r444780398 and below it: I am not happy about that you cannot simply copy&paste that series of commands, while with you can. And I suppose there are just a few cases where, leaving it out, command input and output could be confused. Moreover, the |
|
Some examples intermix command and output and the "$" prompt is used to mark off those. I notice that "!" is used as a comment char for the OpenVMS line and I'm not sure it should get special treatment. |
|
Is there a way in MarkDown to render those |
|
There is no way to make something non-selectable in markdown. |
|
(FWIW, my prompt is a semicolon |
I see :-( but thanks for the info! |
There was a problem hiding this comment.
Many of the code examples are really just examples and are not be meant to be copy&pasted literally. Some people might be tempted to blindly copy&paste large code blocks without checking the code. So having to edit the lines gives them a little extra time to switch on their brain. Like in the following code block:
$ make clean # Unix
$ mms clean ! (or mmk) OpenVMS
$ nmake clean # Windows
P.S: programmers usually tend to have smart editors which are capable of block editing. ;-)
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
We have a notational convention in INSTALL.md, which says this among others: > Any line starting with a dollar sign is a command line. > > $ command > > The dollar sign indicates the shell prompt and is not to be entered as > part of the command. That notation exists to make it clear what is a command line and what's output from that command line. Reviewed-by: Matt Caswell <[email protected]> Reviewed-by: Matthias St. Pierre <[email protected]> (Merged from #12257)
|
Merged 270540f INSTALL.md: Restore $ as command prompt indicator |
We have a notational convention in INSTALL.md, which says this among
others:
That notation exists to make it clear what is a command line and
what's output from that command line.