Já tentou o awk?

Enviado via iPad

Em 20/01/2011, às 13:24, Cleyton Agapito <[email protected]> escreveu:

> Olá parceiros!
> 
> Seguinte, aguém sabe se tem no ports algum programa que formate um
> arquivo tipo csv pra sair bonitinho no console parecido com o que o
> mysql faz? Algo do tipo:
> 
> +------+--------+---------+--------+--------+--------+
> | Ano  | IPCA   | IGPM    | TR     | Poup   | FGTS   |
> +------+--------+---------+--------+--------+--------+
> | 2007 | 4.4573 |  7.7463 | 1.4453 | 7.7022 | 5.1582 |
> | 2008 | 5.9023 |  9.8054 | 1.6348 | 7.9037 | 5.3547 |
> | 2009 | 4.3120 | -1.7123 | 0.7090 | 6.9204 | 4.3949 |
> | 2010 | 5.9091 | 11.3220 | 0.6888 | 6.8992 | 4.3739 |
> +------+--------+---------+--------+--------+--------+
> 
> Muito grato!
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a