Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Why not use emacs to parse Org mode files from the command line? Commented May 12, 2024 at 14:53
  • that would be ideal, but I couldn't find any example how to print all headers "** foo" in a file (from command line, e.g. emacs --batch -l org --eval '( ??? )')? Commented May 12, 2024 at 14:58
  • Please provide an working example of the org file you're trying to parse and an example of the output you would like. It's completely possible to do this but I need more details about the input and output to write a code example that will work from the command-line. Thanks! Commented May 13, 2024 at 17:55
  • @Melioratus sure, can we try this one: pastebin.com/kMNgTnDM ? Could there be a command line tool that will print all contents of headings named "inkscape wsl": pastebin.com/eMkN81pz Commented May 13, 2024 at 23:13
  • 1
    Thanks! I'll take a look and see what I can put together! Commented May 14, 2024 at 5:00