[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Melhoria de script [base passwd]
From: |
Thobias Salazar Trevisan |
Subject: |
Re: [shell-script] Melhoria de script [base passwd] |
Date: |
Thu, 27 Mar 2003 10:33:09 -0300 (EST) |
ae aurelio,
On Thu, 27 Mar 2003, aurelio wrote:
> só não gostei do awk ter sido mais rápido que o sed no arquivo
> grande ;)
aqui acho que temos dois pontos. aquele meu sed fiz na hora, sem
otimizar, de repente otimizando aquela regex poderiamos ganhar
alguns decimos :)
segundo, para este tipo de tarefa, nao sei se o awk nao seria
mais indicado e otimizado. ?!?
> por falar nisso, o tempo que importa é o 'real' né?
sim, usei o time builtin do bash.
$ help time
Execute PIPELINE and print a summary of the real time, user CPU time,
and system CPU time spent executing PIPELINE when it terminates.
....
falow
thobias
-------
echo 24883721290304465999833114447114149701898P | dc
-------
http://www.lcp.coppe.ufrj.br/~thobias
____________________________
|
| Against - HTML Mail
| Against - MS ATTACHMENTS
|
----------------------------