[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Incluir header e trailer
From: |
Marcio Gil |
Subject: |
Re: [shell-script] Incluir header e trailer |
Date: |
Thu, 26 Aug 2010 10:20:19 -0300 |
cat HEADER.txt arq.txt TRAILER.txt >temp.txt
mv temp.txt arq.txt
Em 26/08/2010 09:22, Leandro Valiengo
<address@hidden> escreveu:
> Bom dia grupo,
>
> Pergunta simples.
>
> Tenho um arquivo chamado arq.txt:
>
> D;CARLOS;ALVES;MASC
> D;MARIA;SILVA;FEM
> D;AUGUSTO;SANTOS;MASC
>
> Quero incluir neste arquivo um header e um trailer:
>
> HTXT
> D;CARLOS;ALVES;MASC
> D;MARIA;SILVA;FEM
> D;AUGUSTO;SANTOS;MASC
> T
>
> Para colocar o trailer é tranquilo, criei um arquivo chamado
> TRAILER.txt e usei:
>
> `cat TRAILER.txt >> arq.txt`
>
> Estou com duvido em relacao a incluir o header.
>
> Abr,
>
> Leo
>
- Re: [shell-script] Incluir header e trailer, (continued)
Re: [shell-script] Incluir header e trailer,
Marcio Gil <=
Incluir header e trailer, Leandro Valiengo Luz, 2010/08/27
- Re: [shell-script] Incluir header e trailer, eric miranda, 2010/08/27
- RES: [shell-script] Incluir header e trailer, Leandro Valiengo Luz, 2010/08/27
- Re: [shell-script] Incluir header e trailer, Moacir Souza, 2010/08/27
- Re: [shell-script] Incluir header e trailer, eric miranda, 2010/08/27
- RES: [shell-script] Incluir header e trailer, Leandro Valiengo Luz, 2010/08/27
- Re: RES: [shell-script] Incluir header e trailer, miranda, 2010/08/27
- RES: RES: [shell-script] Incluir header e trailer, Leandro Valiengo Luz, 2010/08/27
- Re: RES: [shell-script] Incluir header e trailer, Moacir Souza, 2010/08/27
- Re: RES: [shell-script] Incluir header e trailer, eric miranda, 2010/08/27