From: Colin Watson Date: Tue, 7 Apr 2009 09:46:49 +0000 (+0000) Subject: wrapper for unicode(1) to examine each character in a word X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=b23e5ac63cd89de140fff2a005ea30d6ee5d8297;p=bin.git wrapper for unicode(1) to examine each character in a word --- diff --git a/unicode-word b/unicode-word new file mode 100755 index 0000000..b31107e --- /dev/null +++ b/unicode-word @@ -0,0 +1,9 @@ +#! /bin/sh + +# Perl doesn't seem to like -CA in the #! line. +perl -w -CA -e ' + use strict; + for my $char (split //, join " ", @ARGV) { + system("unicode", $char); + } +' "$@"