trquery 0.21.7

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trquery --version 0.21.7
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local trquery --version 0.21.7
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trquery&version=0.21.7
                    
nuke :add-package trquery --version 0.21.7
                    

trquery

Summary

Execute a simple query of tree modifications.

Description

Reads a parse tree from stdin, executes a list of queries (insert, delete, or replace), and write the modified tree to stdout. The input and output are Parse Tree Data.

Usage

trquery insert xpath-expr string (; additional commands...)* trquery delete xpath-expr (; additional commands...)* trquery replace xpath-expr string (; additional commands...)*

Details

For all commands, an XPath expression defines where an operation occurs. Commands are executed in order as they appear. The advantage of this command is that the parse tree does not have be re-read or written after each operation as with trinsert, trdelete, or trreplace.

Example

Notes

If you are running MSYS2 on Windows, you may notice that XPaths are not being processed by this command correctly. To avoid the Bash shell from altering XPaths, type export MSYS2_ARG_CONV_EXCL="*", then execute your command.

Current version

0.21.7 Fix trgen globstar testing, Python3 target.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.23.26 2,020 8/17/2025
0.23.25 212 8/9/2025
0.23.24 2,591 7/15/2025
0.23.23 979 7/6/2025
0.23.22 580 6/27/2025
0.23.21 1,747 6/6/2025
0.23.20 322 6/4/2025
0.23.19 313 6/4/2025
0.23.18 1,224 5/13/2025
0.23.17 4,187 3/7/2025
0.23.16 546 3/4/2025
0.23.15 153 2/25/2025
0.23.14 664 2/9/2025
0.23.13 426 1/19/2025
0.23.12 441 1/16/2025
0.23.11 2,621 12/18/2024
0.23.10 132 12/12/2024
0.23.9 148 11/29/2024
0.23.8 179 11/1/2024
0.23.7 4,262 10/9/2024
0.23.6 980 9/21/2024
0.23.5 162 9/15/2024
0.23.4 135 9/7/2024
0.23.3 1,176 8/15/2024
0.23.2 173 6/28/2024
0.23.1 151 6/22/2024
0.23.0 189 4/25/2024
0.22.0 245 2/26/2024
0.21.16 235 11/16/2023
0.21.15 142 11/16/2023
0.21.14 220 11/15/2023
0.21.13 182 11/14/2023
0.21.12 268 10/27/2023
0.21.11 332 10/24/2023
0.21.9 294 9/27/2023
0.21.8 282 9/26/2023
0.21.7 279 9/26/2023
0.21.6 273 9/20/2023
0.21.5 291 9/18/2023
0.21.4 251 9/17/2023
0.21.3 285 9/14/2023
0.21.2 258 9/4/2023
0.21.1 359 8/15/2023

# trquery
## Summary
Execute a simple query of tree modifications.
## Description
Reads a parse tree from stdin, executes a list
of queries (insert, delete, or replace),
and write the modified tree
to stdout. The input and output are Parse Tree Data.
## Usage
trquery insert xpath-expr string (; additional commands...)*
trquery delete xpath-expr (; additional commands...)*
trquery replace xpath-expr string (; additional commands...)*
## Details
For all commands, an XPath expression defines where an operation occurs.
Commands are executed in order as they appear. The advantage of this
command is that the parse tree does not have be re-read or written after
each operation as with trinsert, trdelete, or trreplace.
## Example
## Notes
If you are running MSYS2 on Windows, you may notice that XPaths are not being
processed by this command correctly. To avoid the Bash shell from altering
XPaths, type _export MSYS2_ARG_CONV_EXCL="*"_, then execute your command.
## Current version
0.21.7 Fix trgen globstar testing, Python3 target.