# Collection of code snippets by Arne Vajhøj 
# (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
cd mapfile
javac *.java
cd ..
java -cp . mapfile.Gen demo.txt
java -cp . mapfile.Read1 demo.txt
java -cp . mapfile.Read2 demo.txt
java -cp . mapfile.Read3 demo.txt
gcc -Wall -O3 read2.c -o read2
gcc -Wall -O3 read3nix.c -o read3nix 
./read2 demo.txt
./read3nix demo.txt
python3 read1.py demo.txt
python3 read2.py demo.txt
python3 read3.py demo.txt
python2 read1.py demo.txt
python2 read2.py demo.txt
python2 read3.py demo.txt
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
Read1/bin/release/net7.0/linux-x64/Read1 demo.txt
Read2/bin/release/net7.0/linux-x64/Read2 demo.txt
Read3/bin/release/net7.0/linux-x64/Read3 demo.txt
