Am 23.08.2012 10:46, schrieb ice:
> hi all!
> I'm newbe in shell programming
> My simple script works well but is slow on big file... any suggestion to make it faster?
Yes. In shell, avoid all your unnecessary processes (like cut,
`...`, tr, wc), especially inside loops, and use shell builtins
instead. Yet better, use an appropriate tool for your task; awk
for example.
awk -F\; 'NF>1{for(i=1;i<NF;i++) printf "[%s]\n",$i; print "."}' test.txt
Janis