Date: Sat, 2 Feb 2002 01:05:53 +0800 (CST) From: =?iso-8859-1?q?adrian=20kok?= <adriankok2000@yahoo.com.hk> To: freebsd-questions@FreeBSD.ORG Subject: help about awk Message-ID: <20020201170553.35965.qmail@web21209.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi all
Could you teach me how to get (data1, data2) from the
following pattern?
mail home (100,00,000,'1111-2','89','data1');
email home1 (200,01,001,'1112-2','80','data2');
awk '{print $3}' ->
(100,00,000,'1111-2','89','data1');
But I only need data1 without ' ' eg the output
data1
data2
data3
data4
TIA
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201170553.35965.qmail>
