Date: Fri, 21 Feb 2014 22:35:47 -0500 From: Jason Hellenthal <jhellenthal@dataix.net> To: "<dteske@FreeBSD.org>" <dteske@FreeBSD.org> Cc: "<rc@freebsd.org>" <rc@freebsd.org>, Devin Teske <dteske@freebsd.org> Subject: Re: network.subr _aliasN handling Message-ID: <6D23F10D-14E0-4812-A0B5-3D3D4BE66953@dataix.net> In-Reply-To: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> References: <20131228055324.GA72764@aim7400.DataIX.local> <A7699871-A170-4AD5-B740-ED8BE17C7107@fisglobal.com> <9498BE8E-8090-4E7A-8317-18D29B1DDC08@dataix.net> <7DBA7D58-E925-47BC-967C-F653348426A6@fisglobal.com> <A15FAFBD-4597-4D8D-A014-0D486573894C@dataix.net> <AFFFCC9A-8C21-4C0B-A8D9-457E4C26DDA3@fisglobal.com> <7EAEF3AC-DB1B-4D3E-A156-E1E76B765990@jnielsen.net> <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I'll get on testing this on 10-STABLE in the morning.
Thanks Devin
--
Jason Hellenthal
Voice: 95.30.17.6/616
JJH48-ARIN
> On Feb 21, 2014, at 20:17, <dteske@FreeBSD.org> wrote:
>
>
>
>> -----Original Message-----
>> From: John Nielsen [mailto:lists@jnielsen.net]
>> Sent: Friday, February 21, 2014 9:06 AM
>> To: Devin Teske
>> Cc: Jason Hellenthal; rc@freebsd.org; net@freebsd.org
>> Subject: Re: network.subr _aliasN handling
>>
>>> On Jan 4, 2014, at 4:25 AM, Teske, Devin <Devin.Teske@fisglobal.com>
>> wrote:
>>
>>>> On Jan 4, 2014, at 2:59 AM, Jason Hellenthal wrote:
>>>>
>>>> I believe I know what you mean by that but in a way scares me when
> you say
>> sort as in mixing up the original order they appear in which I would
> find to be
>> really unattractive to most.
>>>
>>> It's not as scary as it sounds.
>>>
>>> The issue is that the variables are sorted alphabetically, instead of
>>> numerically.
>>>
>>> Let's take four words: foo1, foo2, foo10, and foo20.
>>> If you sort them alphabetically, you get:
>>>
>>> foo1
>>> foo10
>>> foo2
>>> foo20
>>>
>>> You'll notice this when doing a directory listing, as that too is
>>> sorted alphabetically.
>>>
>>> This is why "alias14" is run before "alias8" and "alias9". Because
>>> they are processed in alphabetically sorted order. I didn't do
>>> anything to sort the values, they came pre-sorted in alphabetic order.
>>>
>>> If I simply throw in a "| sort -n", then it will change it to
> numerically sorted.
>>> As you might expect, numerically sorting the above list would result
> in:
>>>
>>> foo1
>>> foo2
>>> foo10
>>> foo20
>>>
>>> Trivial really. I'll throw a patch at you when I get some cycles
> (soon).
>>
>> Hi Devin, Jason-
>>
>> I've been behind on my mailing list e-mail for a while, but I really
> like the idea
>> and the patch proposed here. I don't see anything like it in head yet,
> so ... Ping?
>> :)
>>
>> JN
> [Devin Teske]
>
> *** this time with attached patch.txt ***
>
> Hi JN, here's a new patch that incorporates numerical sorting as well as
> what
> the original patch set out to do ... make "gaps" possible (so that you
> could
> comment out an alias without having to renumber all the ones following).
>
> Give it a look, let me know what you think.
> --
> Devin
>
> _____________
> The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
> <patch.txt>
[-- Attachment #2 --]
0 *H
010 + 0 *H
90000
*H
010 UIL10U
StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
130518085048Z
140519220947Z0H10Ujhellenthal@dataix.net1%0# *H
jhellenthal@dataix.net0"0
*H
0
'`TmfkܨJ5u+c'Upb`zv)&ȸXZ*VN6JvLoVoh}g
pQDŽKf/tZA˳("4Ԅ˻'d2h|IBl'^v^;'e8S99ۿVm|k8_UQtC"5l!kjZ]އQGn\Bh!FTsD%pV^Eӑd¨x"9
г"f 00 U0 0U0U%0++0UڔfmVʢ$䟓0U#0Sr풜\|~5NԸQ0!U0jhellenthal@dataix.net0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
*H
{0Ӹ,52W{Ey8b[{7 _+P"n["-,@ŽpJ-W$ݍjWA-6z( RdIZ.KzXє[K6}{s+v.Qh0PͅKhTw 0I73lz*Kv4Kkگ63;p1:ױ@)]ok>:W%XwC1þL/o8~#oP0400
*H
0}10 UIL10U
StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210155Z
171024210155Z010 UIL10U
StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
*H
0
-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG .ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN 00U00U0USr풜\|~5NԸQ0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
*H
}x,\c^#wMq}>UK/^yX֏y frMIŲB61ymQҨݬZ0&