utf8expr

expr(1) for UTF-8
git clone git://r-36.net/utf8expr
Log | Files | Refs | LICENSE

utf8expr.1 (638B)


      1 .Dd May 21, 2012 
      2 .Dt UTF8EXPR 1
      3 .Os
      4 .
      5 .Sh NAME
      6 .Nm utf8expr
      7 .Nd evalute UTF-8 expressions
      8 .
      9 .Sh SYNOPSIS
     10 .Nm
     11 .Bk -words
     12 EXPRESSION
     13 .
     14 .Sh DESCRIPTION
     15 .Bd -filled
     16 .Nm
     17 will evalute a subset of the expr(1) syntax with taking care
     18 of UTF-8 characters.
     19 .Ed
     20 . 
     21 .Sh EXPRESSIONS 
     22 .Pp
     23 .Bl -tag -width ".Fl test Ao Ar string Ac"
     24 .
     25 .It substr STRING POS LENGTH
     26 substring of STRING, POS counted from 1
     27 .
     28 .It index STRING CHARS
     29 index in STRING where any CHARS is found, or 0
     30 .
     31 .It length STRING
     32 length of STRING
     33 . 
     34 .Sh AUTHORS
     35 See the LICENSE file for the authors of this software.
     36 .
     37 .Sh LICENSE
     38 .Nm
     39 is released under the MIT/X Consortium License.
     40 .
     41