From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] trans
Date: Thu, 13 Jun 2013 19:28:29 +0900 [thread overview]
Message-ID: <FC01E064-42A5-4B4A-8A70-CEBCA93EDB31@ar.aichi-u.ac.jp> (raw)
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
next reply other threads:[~2013-06-13 10:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 10:28 arisawa [this message]
2013-06-13 10:30 ` arisawa
2013-06-14 15:35 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FC01E064-42A5-4B4A-8A70-CEBCA93EDB31@ar.aichi-u.ac.jp \
--to=arisawa@ar.aichi-u.ac.jp \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).