[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Manipulação de strings
From: |
Guilherme Gall |
Subject: |
Re: [shell-script] Manipulação de strings |
Date: |
Thu, 25 Apr 2019 10:07:53 -0300 |
Tipo isso?
$ echo '002811
012911
031010' | sed -r 's_(..)(..)(..)_\1:\2:\3_'
00:28:11
01:29:11
03:10:10
Atenciosamente,
Guilherme Gall
Em qui, 25 de abr de 2019 às 10:00, Rodrigo Cunha
address@hidden [shell-script]
<address@hidden> escreveu:
>
>
>
> Prezados, preciso manipular um arquivo com varias strings, do tipo:
> 002811
> 012911
> 031010
> E transforma-los para o tipo: hora:minuto:segundo.
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
- Manipulação de strings, Rodrigo Cunha, 2019/04/25
- Re: [shell-script] Manipulação de strings,
Guilherme Gall <=
- Re: [shell-script] Manipulação de strings, Rodrigo Cunha, 2019/04/25
- Re: [shell-script] Manipulação de strings, Paulo, 2019/04/25
- Re: [shell-script] Re: [shell-script] Manipulação de strings, Rodrigo Cunha, 2019/04/25
- Re: [shell-script] Re: [shell-script] Manipulação de strings, Paulo, 2019/04/27
- Re: [shell-script] Re: [shell-script] Re: [shell-script] Manipulação de strings, Julio C. Neves, 2019/04/28
- Re: [shell-script] Manipulação de strings, Alfredo Casanova, 2019/04/25
- Re: [shell-script] Manipulação de strings, Alfredo Casanova, 2019/04/25
- Re: [shell-script] Manipulação de strings, T.Collons, 2019/04/26