Il giorno mer, 31/10/2007 alle 14.58 +0100, Sjoerd Mullender ha scritto: > Or: > > #!/bin/bash > printf "a a a\nb b b\nc c c\n" | { > i=0 > while read x > do > i=$[i+1] > echo "$x: ($i)" > done > echo $i > } Great! -- Dario Lesca <d.lesca@xxxxxxxxxx> -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list