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

[no subject]



	-----Original Message----- 
	From: Geoffrey [<a  rel="nofollow" href="mailto:esoteric";>mailto:esoteric</a> at 3times25.net] 
	Sent: Thu 4/1/2004 12:18 PM 
	To: Atlanta Linux Enthusiasts 
	Cc: 
	Subject: Re: [ale] sort key help request
	
	

	Dow Hurst wrote:
	&gt; I have a tab delimited file I want to sort on the second and eighth fields.
	&gt;
	&gt; sort -t \t -k 2b,2 -k 8,8 inputfile &gt; outputfile
	&gt;
	&gt; is what I have tried.  Doesn't work and I think the \t is what is wrong
	&gt; but aren't sure.  How do I specify a tab character as the delimiter?
	
	--field-separator='     '
	
	Where you actually enter the tab key betwen the quotes.
	
	&gt;
	&gt; Thanks,
	&gt; Dow
	&gt;
	
	
	--
	Until later, Geoffrey                     Registered Linux User #108567
	Building secure systems in spite of Microsoft
	_______________________________________________
	Ale mailing list
	Ale at ale.org
	<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4530 bytes
Desc: not available



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00048.html">[ale] Speed comparison</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00050.html">[ale] Speed comparison</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00044.html">[ale] sort key help request</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00040.html">[ale] Mandrake9.2 CD won't bootup...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00049"><strong>Date</strong></a></li>
<li><a href="threads.html#00049"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>