From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 26 Aug 2004 17:58:06 +0300 From: Dolgov OV To: community@altlinux.ru Subject: Re: [Comm] grep -? Message-Id: <20040826175806.629fc05d.dov@media-link.info> In-Reply-To: <20040826143004.GB4278@notebook.wrarsdomain> References: <20040826171028.4eb691b5.dov@media-link.info> <20040826143004.GB4278@notebook.wrarsdomain> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at media-link.info X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 14:56:01 -0000 Archived-At: List-Archive: List-Post: On Thu, 26 Aug 2004 20:30:04 +0600 Andrey Rahmatullin wrote: > On Thu, Aug 26, 2004 at 05:10:28PM +0300, Dolgov OV wrote: > >cat /etc/apt/source.list | grep -v ^# > >отрабатывает нориально, а вот как проигнорировать еще и пустые > >строки? > |egrep -v ^(#|$) > # egrep -v ^(#|$) sources.list bash: syntax error near unexpected token `(' -- С наилучшими, Олег Долгов Registered Linux user #315454