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

[no subject]



Dow Hurst wrote:
> I have a tab delimited file I want to sort on the second and eighth fields.
> 
> sort -t \t -k 2b,2 -k 8,8 inputfile > outputfile
> 
> is what I have tried.  Doesn't work and I think the \t is what is wrong 
> but aren't sure.  How do I specify a tab character as the delimiter?
> 
> Thanks,
> Dow
> 

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428            *
Systems Support Specialist    Fax: 770-423-6744            *
1000 Chastain Rd. Bldg. 12                                 *
Chemistry Department SC428  Email:   dhurst at kennesaw.edu   *
Kennesaw State University         Dow.Hurst at mindspring.com *
Kennesaw, GA 30144                                         *
************************************************************
This message (including any attachments) contains          *
confidential information intended for a specific individual*
and purpose, and is protected by law.  If you are not the  *
intended recipient, you should delete this message and are *
hereby notified that any disclosure, copying, distribution *
of this message, or the taking of any action based on it,  *
is strictly prohibited.                                    *
************************************************************


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00038" href="msg00038.html">[ale] sort key help request</a></strong>
<ul><li><em>From:</em> dhurst at kennesaw.edu (Dow Hurst)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00040.html">[ale] Mandrake9.2 CD won't bootup...</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00042.html">[ale] Laptop Scroll Pad</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00038.html">[ale] sort key help request</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00044.html">[ale] sort key help request</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00041"><strong>Date</strong></a></li>
<li><a href="threads.html#00041"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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