Xref: utzoo comp.unix.wizards:11519 comp.unix.questions:9564 Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!nrl-cmf!ukma!rutgers!apple!voder!pyramid!prls!philabs!mergvax!rkxyv From: rkxyv@mergvax (Rob Kedoin) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Redirecting output in AWK Keywords: 10 file limit ?, close Message-ID: <816@mergvax> Date: 3 Oct 88 18:45:50 GMT Distribution: na Organization: Linotype Co., Hauppauge NY Lines: 20 I am trying to use AWK to split one file into many formatted, smaller files. The problem I am having is that I cannot output to more than 10 files. I am doing my output in a manner similar to: MY_FILE="foo"; printf("abc\n") >> MY_FILE; close(MY_FILE); Even though I am executing the close, I am still running out of files. Does anyone know of a fix to this ? Thanks in advance, -Rob Kedoin UUCP: ...{philabs,motown,icus}\!mergvax\!rkxyv ARPA: rkxyv%mergvax.UUCP@uunet.uu.net BITNET: rkxyv%mergvax.UUCP@uunet.uu.net.BITNET SNAIL-mail: Linotype Company - R&D 425 Oser Avenue Hauppauge, NY 11788 VOICE: (516) 434 - 2729