tmbailey123 has asked for the wisdom of the Perl Monks concerning the following question:
One other thing I only have to sort one class C subnet,
therefore the sort can be isolated to the 4th octet.
<code>
10.194.196.46 chqnocp01 # Laser 4MV by Joe Blow
10.194.196.47 chqnocp02
10.194.196.49 nnocrpt01
10.194.196.50 nnocgw001
10.194.196.52 nnocs002
10.194.196.53 wslkms02 wslknms0
10.194.196.54 nnocws001
10.194.196.55 heckyll
10.194.196.57 txwl013w
10.194.196.61 krios
10.194.196.62 stasis # dial up server
10.194.196.63 nnocdts01 # sparc 5 in wan rm
10.194.196.64 saturn
10.194.196.65 libra
10.194.196.66 legato-school
10.194.196.67 txwlxdbs nnocs002a
<code>
thx
-mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting /etc/hosts
by thraxil (Prior) on Aug 31, 2001 at 22:25 UTC | |
|
Re: sorting /etc/hosts
by tachyon (Chancellor) on Aug 31, 2001 at 23:11 UTC | |
|
Using Unix sort
by Rhose (Priest) on Aug 31, 2001 at 22:35 UTC | |
by tmbailey123 (Initiate) on Aug 31, 2001 at 23:14 UTC | |
by tmbailey123 (Initiate) on Aug 31, 2001 at 23:07 UTC | |
|
Re: sorting /etc/hosts (boo)
by boo_radley (Parson) on Aug 31, 2001 at 22:38 UTC | |
by kjherron (Pilgrim) on Aug 31, 2001 at 22:51 UTC | |
by Anonymous Monk on Aug 31, 2001 at 22:47 UTC |