trreplace 0.11.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trreplace --version 0.11.2
                    
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 trreplace --version 0.11.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trreplace&version=0.11.2
                    
nuke :add-package trreplace --version 0.11.2
                    

Replaces nodes with arbitrary text in a parse tree.
This program is part of the Trash toolkit.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.22.0 436 2/26/2024
0.21.16 362 11/16/2023
0.21.15 294 11/16/2023
0.21.14 231 11/15/2023
0.21.13 236 11/14/2023
0.21.12 389 10/27/2023
0.21.11 358 10/24/2023
0.21.9 316 9/27/2023
0.21.8 342 9/26/2023
0.21.7 370 9/26/2023
0.21.6 383 9/20/2023
0.21.5 322 9/18/2023
0.21.4 304 9/17/2023
0.21.3 332 9/14/2023
0.21.2 359 9/4/2023
0.21.1 420 8/15/2023
0.21.0 382 6/25/2023
0.20.27 312 6/15/2023
0.20.26 334 6/5/2023
0.11.2 653 9/26/2021
Loading failed

# trreplace
Reads a parse tree from stdin, replaces nodes with text using
the specified XPath expression, and writes the modified tree
to stdout. The input and output are Parse Tree Data.
# Usage
trreplace <xpath-string> <text-string>
# Example
trparse Java.g4 | trreplace "//parserRuleSpec[RULE_REF/text() = 'normalAnnotation']" "nnn" | trtree | vim -
# 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.11.2 -- Updated trgroup.