Hello,

I have released a tool that extends tr command to handle strings.
the command syntax is: trans rule [file ...]
where "rule" is a rule file.
The examples:
        Two lines in rule file:
                alice bob
                bob alice
        will swap "alice" and "bob" in text.

        Three lines in rule file:
                alice bob
                bob carol
                carol alice
        will rotate "alice", "bob" and "carol" in text.

        Trans originary designed for unicode conversion NFD to NFC. 
        Therefore trans has format suitable for the problem: 
                # unicode
                # Latin letters
                0061:0308       00E4    ä
                0065:0308       00EB    ë
                0069:0308       00EF    ï
                006F:0308       00F6    ö
                0075:0308       00FC    ü
                0079:0308       00FF    ÿ

The code in trans will be applied to u9fs for Mac.

Kenji Arisawa


Reply via email to