Skip to content

Any preferred interaction with the XML tools stack overflow topic? #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
josephholsten opened this issue Mar 9, 2025 · 1 comment
Open

Comments

@josephholsten
Copy link

Howdy! Pretty much the only thing I do on stack overflow any more is update https://stackoverflow.com/questions/91791/grep-and-sed-equivalent-for-xml-command-line-processing about once a year.

Anyone have thoughts about how to improve it while not duplicating work? From my personal use, I most care about command-line usage (non-tui), and stability of maintenence (when first written, if actively maintained). Occasionally I care about implementation language if it means I have to install an especially modern scripting language on a production machine, or use non-system packaging.

One thing about the Stack Overflow responses is that most of them have example files and commands, is it insane to imagine a standard usage example for each tool?

If you think no action on either side is appropriate, this is the one sort of ticket where that +1 response makes sense.

@dbohdan
Copy link
Owner

dbohdan commented Mar 10, 2025

Hi! Thanks for keeping that question up to date.

is it insane to imagine a standard usage example for each tool?

Do you mean in this repository? I think that would be too much initial work and ongoing maintenance for the value it would deliver. A standard example compatible with a lot of tools would necessarily have to be simple (lowest common denominator). It would also take up space, making the document harder to scan.

Making examples easier to get to is a good idea! What one could do is link to the examples section of the manual for every tool that has one. I'll gladly merge PRs doing that. E.g.:

  [foo]
  url = "https://github.com/example/foo"
- descr = "Transform JSON input with Foo code."
+ descr = "Transform JSON input with Foo code. [Examples](https://foo.example.com/manual/examples)."
  tags = ["json"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants