ps. remove "echo #" , it was nice when the loop runs just one pass.
The test file contained id,x,xx 4,,t1 5,t2,t1 6,t1, ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm