4 ms·
Please show a "hello world" script in your readme demonstrating the core feature of your tool. I skimmed the whole big readme and couldn't find any example of a
by akavel 6y ago
Please show a "hello world" script in your readme demonstrating the core feature of your tool. I skimmed the whole big readme and couldn't find any example of an actual literate script. Nor could I find any "examples" dir in the repo.
- thaumaturgy 6y agoAn "examples" directory is a great idea that didn't occur to me at all. Do you have a suggestion for a useful example that would be better than the example at the top of the readme?
- wizzwizz4 6y agoIsn't this an examples directory? https://github.com/zyedidia/Literate/tree/master/examples https://github.com/zyedidia/Literate/tree/master/examples
- akavel 6y agoI don't see any markdown in the script at the top, it looks like a normal bash script. It doesn't look in any way as "literate programming" as commonly understood since originally introduced. I'm in utterly confused how this example script is in any way related to what we're talking about in this thread, including your post above.
- thaumaturgy 6y agoI wasn't snarking. Writing one or more markdown-specific examples is something I'd like to do. I was asking for ideas for examples that would be more useful to sysadmins than the shell example at the top of the readme.
- akavel 6y agoNo problem, I just assumed some kind of misunderstanding and tried to explain my thoughts in different words :) I'm afraid I don't have especially great ideas for that, nor am I a sysadmin. In fact, I was hoping to see some example of how you'd suggest to use the thing so that I would better understand it and get inspired :P hm, dunno, how about uploading my ssh public key to a remote machine? Just random idea of a thing commonly needed to be done.