Two cross-platform .NET tools for text and code cleanup:
- f: Count words in text files (txt/md/docx) with optional comment stripping
- fcc: Strip C# comments and regions in place (Roslyn-based)
- .NET SDK 8.0+ or 9.0
# From NuGet (recommended)
dotnet tool install -g ancp
dotnet tool install -g ancp.fcc
# From source
./scripts/install_tools.sh
# OR
make installf path/to/file.txt # Count total words
f --unique path/to/file.docx # Count unique words
f --strip path/to/README.md # Strip comments before outputfcc path/to/File.cs # Process single file
fcc path/to/Folder # Process folder recursivelydotnet tool uninstall --global ancp
dotnet tool uninstall --global ancp.fccThis project is licensed under the MIT License.