bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exit from a piped while read does not exit program but function


From: Paul Jarc
Subject: Re: exit from a piped while read does not exit program but function
Date: Thu, 07 Mar 2002 12:16:49 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

address@hidden wrote:
> grep -v ^# testfile.txt | while read A B C D

See the bash FAQ, entry E4 for some ways to rewrite this to do what
you want.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]