I'm trying to do some minor xml manipulation, but it seems, that 'inc' command is fails to act on paths: This works : ``` $ fetch https://raw.githubusercontent.com/apache/arrow/master/java/pom.xml | get project.properties.'dep.jackson.version' 2.9.8 ``` This also works: ``` $ fetch https://raw.githubusercontent.com/apache/arrow/master/java/pom.xml | get project.properties.'dep.jackson.version' | inc --patch 2.9.9 ``` However, this will cut out everything from the xml. I hoped, I can do something like this ``` $ fetch https://raw.githubusercontent.com/apache/arrow/master/java/pom.xml | inc --patch "project.properties.'dep.jackson.version'" error: Type Error - shell:1:89 1 | fetch https://raw.githubusercontent.com/apache/arrow/master/java/pom.xml | inc --patch "project.properties.'dep.jackson.version'" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Expected column path, found String ```
Activity
andrasio commentedon Oct 20, 2019
@gzsombor I should work now. Try
... | inc project.properties."dep.jackson.version" --patchfeat: docs on the `command_not_found` hook, with an example in *Arch …