List Info

Thread: Quick question on awk usage




Quick question on awk usage
user name
2006-06-27 15:07:38
 

	-----Original Message----- 
	From: redhat-list-bouncesredhat.com on behalf of
Bliss, Aaron 
	Sent: Tue 06/27/2006 11:00 AM 
	To: redhat-listredhat.com 
	Cc: 
	Subject: Quick question on awk usage
	
	

	Hi everyone, I have a quick question on using awk from the
command line;
	I have a tab delimited file, and would like to know the
syntax to print
	the entire line only when $12 == 575;

	-----------------------------------

	 

	awk -F'<tab>' '$12 == 575 {print $0}' file

	Don't type <tab>, simply press the TAB key on your
keyboard

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )