Date: Fri, 28 Feb 1997 17:10:50 -0500 From: "Heller, David" <dheller@rwd.com> To: "'FreeBSD Support'" <questions@FreeBSD.org> Subject: Sorting Problem Message-ID: <c=US%a=_%p=RWD%l=RWDEXCH1-970228221050Z-8884@columbia.rwd.com>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to sort a sendmail aliases file. I would like to sort each line on the second character of the first field. The results are always sorted on the first character of the first field. The version of sort is GNU 1.9. Each line in the aliases file looks like this: jdoe:jdoe@columbia.rwd.com I have tried the sort command in the following ways: sort -t : -o newfile -k 1,2 aliases sort -t : -o newfile -k 1,3 aliases sort -t : -o newfile +0 -3 aliases Any input would be greatly appreciated. Thank you. Dheller@rwd.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=RWD%l=RWDEXCH1-970228221050Z-8884>