On Thu, 12 Feb 2004, Costi wrote: > Cu programul read_data citesc datele din "data". Problema este ca nu pot > sa-l fac sa ignore liniile goale. Ce gresesc?
[ -z "$line" ] && continue;
Sau:
egrep -v '^$' data | while read shit; do whatever; done;
--
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise expressly stated.
---
Detalii despre listele noastre de mail: http://www.lug.ro/
