Hi Dmi. Thanks for this. It seems like it's going to be another fun one to play with.
One thing, though. It pooped out because I didn't have my "LANG" environment variable defined. Line 10 of nlc is where it's happening, I think. Maybe you can default to some language if "LANG" is not defined? Anyway, once I defined it, I was good to go.