From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Easy for Some Date: Mon, 4 Jan 2010 18:45:25 +0100 Message-ID: References: <27011067.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262629292 15566 80.91.229.12 (4 Jan 2010 18:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2010 18:21:32 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: marioepsley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 19:21:24 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NRrYI-0007rS-Hh for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2010 19:21:14 +0100 Original-Received: from localhost ([127.0.0.1]:39188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRrB6-0000kG-1W for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2010 12:57:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRr0t-0006Fq-BW for help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 12:46:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRr0o-0006DL-6V for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 12:46:42 -0500 Original-Received: from [199.232.76.173] (port=34670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRr0n-0006DA-Q3 for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 12:46:37 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:51576) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRr0e-0002pO-3I for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 12:46:37 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRr0M-0005fe-QW for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 12:46:11 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 6C3E514B26372; Mon, 4 Jan 2010 18:45:28 +0100 (CET) Original-Received: from [91.35.239.107] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (WEB.DE 4.110 #314) id 1NRqzg-0007V1-00; Mon, 04 Jan 2010 18:45:28 +0100 In-Reply-To: <27011067.post@talk.nabble.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/8hQNmOIfxDfda1Ipth5+cdkYYzzRVvKg7TTvY rFJNGLYqA0jl6vgzWPA7mjEZgN0OQB7ZHEQ45nNLAmxZbRzqj2 VtPR0O5GT5dYNAi+RGeA== X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71049 Archived-At: Am 04.01.2010 um 11:25 schrieb marioepsley: > I am a complete newbie, i downloaded aquamacs emacs yesterday, tried > to use > replace string as a guess You could use awk to print only the second column, i.e., the second by white space separated word of each line, when it exists in this record. Then it would also output the second word of the header lines which you'd need to filter: awk '{if (NF > 1) print $2}' | egrep -v '[^-0-9.]' -- Greetings Pete "Klingons do not believe in indentation - except perhaps in the skulls of their project managers."