[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Thu Apr 1 14:01:40 2004 -->
- <!--x-from-r13: QuevfQbyrzna ng znvy.pynlgba.rqh (Quevf Qbyrzna) -->
- <!--x-message-id: 9A2AE7C313D8F14E8498253BB764ED3C0791343E@ganymede.ccsunet.clayton.edu -->
- <!--x-subject: [ale] sort key help request -->
- <li><em>date</em>: Thu Apr 1 14:01:40 2004</li>
- <li><em>from</em>: ChrisColeman at mail.clayton.edu (Chris Coleman)</li>
- <li><em>subject</em>: [ale] sort key help request</li>
-----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:
> 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?
--field-separator=' '
Where you actually enter the tab key betwen the quotes.
>
> Thanks,
> Dow
>
--
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>