Could coreutils in rust be interesting for this project? (memory safety, at least at a later date) They use MIT license, however.