From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2ddf08d5378a0085dbf48bd98d52c3f9@coraid.com> From: erik quanstrom Date: Tue, 15 May 2007 11:48:51 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] A simple rc question In-Reply-To: <13426df10705150838y7148f207m8fbc1631752fc8aa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 6746e582-ead2-11e9-9d60-3106f5b1d025 i think you have backgrounded the awk, but not the tail. i think what you want is for(f){ {tail -f $f | awk '{print "'^$f^':" $0}'}&} } it sure looks like there are excessive {}s, but i think they are necessary. otherwise & will bind to either awk or the for. - erik