Timeline for Why do people prefix code examples with dollar sign? [duplicate]
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 16, 2017 at 22:19 | history | closed |
Eliah Kagan Kevin Bowen Kaz Wolfe guntbert Fabby |
Duplicate of $ (prompt) in command line instructions | |
Jan 14, 2017 at 3:13 | review | Close votes | |||
Jan 16, 2017 at 22:19 | |||||
Dec 24, 2015 at 2:53 | answer | added | waltinator | timeline score: 1 | |
Dec 23, 2015 at 22:07 | comment | added | kos |
If you have to execute a long list of commands prefixed with $ : sed 's/^$ //' <<EOF | bash , paste the list of commands, hit ENTER, type EOF, hit ENTER. To edit it for the site: sed 's/^$ //' <<EOF | xclip -sel clipboard , paste the list of commands, hit ENTER, type EOF, hit ENTER.
|
|
Dec 23, 2015 at 21:33 | vote | accept | idleberg | ||
May 30, 2021 at 16:42 | |||||
Dec 23, 2015 at 16:31 | comment | added | Mateo | it is habit some sites don't have code formating, so you need to indicate it is in terminal - just edit it out we generally don't do that here for copy\paste ability (tripple click will include the $) meta.askubuntu.com/questions/282/… | |
Dec 23, 2015 at 16:06 | comment | added | glenn jackman | I see that as "type this command at your shell prompt". And of course laziness, but in the positive sense: c2.com/cgi/wiki?LazinessImpatienceHubris | |
Dec 23, 2015 at 16:04 | history | migrated | from askubuntu.com (revisions) | ||
Dec 23, 2015 at 15:57 | answer | added | dobey | timeline score: 10 | |
Dec 23, 2015 at 15:50 | history | asked | idleberg | CC BY-SA 3.0 |