Subversion Repositories wimsdev

Rev

Rev 11210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
!! +var+ +exec+ +string+
11210 bpr 2
tit:translate
3
type:$type_both
11292 bpr 4
syntax:!translate [internal] ``s1'' to ``s2'' in ``string''\
5
!translate [internal] ``s1'' in ``string'' to ``s2''
6
mean:String manipulation: variable substitution is first done on ``string''. \
11210 bpr 7
  Then all occurences of the first (resp. second, ...)\
11292 bpr 8
  character of ``s1'' is replaced by the first (resp. second, ...)\
9
  character of ``s2''. <br/>\
10
  When the keyword ``internal'' is absent, the Linux utility ``tr'' is called to make the translations,\
11
  therefore regular expressions are accepted in ``s1'' and ``s2''. \
12
  Please refer to the man page of ``tr'' for details.