version 1.15, 2010/04/05 16:44:52 |
version 1.16, 2010/07/15 20:51:38 |
|
|
the range is intended to map in another range, i.e., the command |
the range is intended to map in another range, i.e., the command |
.Dq tr\ [a-z]\ [A-Z] |
.Dq tr\ [a-z]\ [A-Z] |
will work as it will map the |
will work as it will map the |
.Dq [ |
.Dq \&[ |
character in |
character in |
.Ar string1 |
.Ar string1 |
to the |
to the |
.Dq [ |
.Dq \&[ |
character in |
character in |
.Ar string2 . |
.Ar string2 . |
However, if the shell script is deleting or squeezing characters as in |
However, if the shell script is deleting or squeezing characters as in |
the command |
the command |
.Dq tr\ -d\ [a-z] , |
.Dq tr\ -d\ [a-z] , |
the characters |
the characters |
.Dq [ |
.Dq \&[ |
and |
and |
.Dq \] |
.Dq \] |
will be |
will be |