App Example to read letters for a given file and count them
https://www.microsoft.com/net/download
If you are using Ubuntu additionally libunwind:
sudo apt-get install -y libunwind-dev
git clone https://github.com/buronix/AvuxiFileReader.git
Got to the clone repository location and navigate to the AvuxiFileReader directory
dotnet publish -c release -r win-x64
dotnet publish -c release -r ubuntu.16.04-x64
dotnet publish -c release -r linux-x64
bin\Release\netcoreapp2.0\win-x64\AvuxiFileReader.exe [filePath] (Ej:exampleFile_lat.txt)
Add execution permissions to executable chmod 777 bin/Release/netcoreapp2.0/linux-x64/AvuxiFileReader
./bin/Release/netcoreapp2.0/linux-x64/AvuxiFileReader [filePath] (Ej:exampleFile_lat.txt)
Add execution permissions to executable chmod 777 bin/Release/netcoreapp2.0/ubuntu.16.04-x64/AvuxiFileReader
./bin/Release/netcoreapp2.0/ubuntu.16.04-x64/AvuxiFileReader [filePath] (Ej:exampleFile_lat.txt)
You can configure via the file configuration.json
{
"Options": {
"EnableDebug": true,//Enable Additional Debug Information
"IgnoreSpaces": true,//Ignore counting the spaces distribution in the file, false to count and display spaces
"FormatOutput": true//Enable Output format (Separate distribution into new Lines)
}
}