Ola lista, olha so, eu tava tentando converter um valor passado pelo comando echo e processado pelo comando tr usando equivalencia de expressao regurlar no modelo POSIX, fiz duas tentativas,mas nao funcionou.... por favor alguem poderia dar uma maozinha ai pa' nois?
Olhem os comandos?
[root@localhost ~]# echo "fffff000" |tr "[[:xdigit:]]" "[[:digit:]]"
tr: when translating, the only character classes that may appear in
string2 are `upper' and `lower'
[root@localhost ~]# echo "FFFFF000" |tr "[[:xdigit:]]" "[[:digit:]]"
tr: when translating, the only character classes that may appear in
string2 are `upper' and `lower'
-bash: echo: write error: Broken pipe
Brigaduuuuuuuuuuuuuuuuu
t+