> Much less was I trying to criticize you,
Oh I didn't think you were :-)
> Just trying to raise awareness about (the few) shell variation idiosyncracies
> I know about, to help making people's lives easier.
Sounds good to me.
--
Cheers,
Clive
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Aug 16, 2017 at 02:56:01PM +0100, Clive Standbridge wrote:
>
> > The "declare", OTOH, is pretty Bashist. But it can be replaced by
> > a simple "echo":
>
> True. It was just a convenient way of showing that the variable hadn't
> absorbed any
> The "declare", OTOH, is pretty Bashist. But it can be replaced by
> a simple "echo":
True. It was just a convenient way of showing that the variable hadn't
absorbed any white space.
Besides, I was just picking up the "Bash can't do it" gauntlet. I'd
often prefer awk in such a situation (like
On Wed, Aug 16, 2017 at 11:58:06AM +0200, to...@tuxteam.de wrote:
> oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other;
> do echo "$interface"; done; IFS="$oldIFS"
ip -o link | while IFS=' :' read -r _ i _; do echo "<$i>"; done
There's no need to set IFS globally and then
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Aug 16, 2017 at 04:58:24AM -0400, Gene Heskett wrote:
> On Wednesday 16 August 2017 03:28:43 Clive Standbridge wrote:
>
> > oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other;
> > do declare -p interface; done; IFS="$oldIFS"
On Wednesday 16 August 2017 03:28:43 Clive Standbridge wrote:
> oldIFS="$IFS"; IFS=': '; ip -o link | while read num interface other;
> do declare -p interface; done; IFS="$oldIFS"
Now thats an interesting bit of bashism, and deeper into it than I have
waded. But for this local network, I know w
> wooledg:~$ ip -o link | awk -F": " '{print $2}'
> lo
> eth0
>
> The only other scripting language I know that can do splitting with
> multi-character separators is perl.
>
> wooledg:~$ ip -o link | perl -ne '@x=split(/: /); print $x[1], "\n"'
> lo
> eth0
>
> Bash and Tcl can't do it, at least
On Tue 15 Aug 2017 at 21:49:31 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 15:28:32 David Wright wrote:
>
> > On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wr
On Tuesday 15 August 2017 15:46:15 Brian wrote:
> On Tue 15 Aug 2017 at 14:53:39 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:19:37 David Wright wrote:
> > > On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
On Tuesday 15 August 2017 15:28:32 David Wright wrote:
> On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
>
On Tuesday 15 August 2017 15:23:44 Brian wrote:
> On Tue 15 Aug 2017 at 14:48:50 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 14:00:50 Brian wrote:
> > > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > > O
On Tue 15 Aug 2017 at 14:53:39 -0400, Gene Heskett wrote:
> On Tuesday 15 August 2017 14:19:37 David Wright wrote:
>
> > On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> > > > L'octidi 28 thermidor, an CCXXV, Erik Christi
On Tue 15 Aug 2017 at 14:48:50 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 14:00:50 Brian wrote:
>
> > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wr
On Tue 15 Aug 2017 at 14:48:50 -0400, Gene Heskett wrote:
> On Tuesday 15 August 2017 14:00:50 Brian wrote:
>
> > On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wro
On Tuesday 15 August 2017 14:19:37 David Wright wrote:
> On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > Around 30 years of familiarity across many *n
On Tuesday 15 August 2017 14:01:28 Nicolas George wrote:
> L'octidi 28 thermidor, an CCXXV, Gene Heskett a écrit :
> > Nicolas: The nearest ipv6 address to me is likely 150 miles north,
> > in Pittsburgh PA. Its all ipv4 here in WV AFAIK.
>
> You seem to be under the misapprehension that the polic
On Tuesday 15 August 2017 14:00:50 Brian wrote:
> On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> > On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> > > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
On Tue 15 Aug 2017 at 13:24:56 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
>
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > Around 30 years of familiarity across many *nix flavours.
> >
> > You said it: the only superiority of ifc
L'octidi 28 thermidor, an CCXXV, Gene Heskett a écrit :
> Nicolas: The nearest ipv6 address to me is likely 150 miles north, in
> Pittsburgh PA. Its all ipv4 here in WV AFAIK.
You seem to be under the misapprehension that the policy of Debian
development revolves around your personal perceived ne
On Tue 15 Aug 2017 at 13:46:20 -0400, Gene Heskett wrote:
> On Tuesday 15 August 2017 13:07:38 David Wright wrote:
>
> > On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > > L'octidi 28 thermidor, an CCXXV, Erik Christi
On Tuesday 15 August 2017 13:07:38 David Wright wrote:
> On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> > On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> > > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > > If it's no longer part of the base system, th
On Tuesday 15 August 2017 10:48:12 Nicolas George wrote:
> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > Around 30 years of familiarity across many *nix flavours.
>
> You said it: the only superiority of ifconfig over iproute2 is
> tradition and familiarity of long-time users. O
On Tue 15 Aug 2017 at 11:23:41 (-0400), Gene Heskett wrote:
> On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
>
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > If it's no longer part of the base system, then perhaps the system
> > > is too base?
> >
> > Please ellab
On Tue, Aug 15, 2017 at 3:23 PM, Gene Heskett wrote:
> Because ip is a pain in the ass to make it run, and still gives grossly
> incomplete information?
>
> In 2 years, I have yet to get a full network report out of ip such as
> ifconfig gives.
How about fixing ip? Like 'ip --config'? Or just 'i
On Tuesday 15 August 2017 07:33:53 Nicolas George wrote:
> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > If it's no longer part of the base system, then perhaps the system
> > is too base?
>
> Please ellaborate. Why should ifconfig be part of the base system?
>
> Regards,
Becau
L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> Around 30 years of familiarity across many *nix flavours.
You said it: the only superiority of ifconfig over iproute2 is tradition
and familiarity of long-time users. On the other hand, ifconfig is
technically inferior on most if not a
On 15-08-17, Erik Christiansen wrote:
> On 15.08.17 15:03, Dejan Jocic wrote:
> > And what exactly do you miss in ifconfig and net-tools package, that you
> > can not do with ip, which is part of iproute2 package that comes as part
> > of base system?
>
> Around 30 years of familiarity across many
On Tue, Aug 15, 2017 at 03:14:02PM +0100, Darac Marjal wrote:
> Have you looked at "ip -s link"? It's not quite as easy to parse as "netstat
> -in", but all the information's there.
Actually, "ip -o link" is a step in the right direction:
wooledg:~$ ip -o link
1: lo: mtu 65536 qdisc noqueue stat
On Tue, 15 Aug 2017, Felix Miata wrote:
> >> > Please ellaborate. Why should ifconfig be part of the base system?
Indeed. It shouldn't, and it doesn't anymore. Maybe net-tools should
be part of the *standard* system, but it certainly does not belong to
the *base* system anymore.
*base* is "what
On Tue, Aug 15, 2017 at 09:29:37AM -0400, Greg Wooledge wrote:
On Tue, Aug 15, 2017 at 03:03:35PM +0200, Dejan Jocic wrote:
And what exactly do you miss in ifconfig and net-tools package, that you
can not do with ip, which is part of iproute2 package that comes as part
of base system?
What ipr
Dejan Jocic composed on 2017-08-15 15:03 (UTC+0200):
> Erik Christiansen wrote:
>> Nicolas George wrote:
>> > Please ellaborate. Why should ifconfig be part of the base system?
>> With pleasure. It is the most basic and useful *nix networking tool,
>> traditional since well back in the last mil
On 15.08.17 09:29, Greg Wooledge wrote:
> wooledg:~$ netstat -in
> Kernel Interface table
> Iface MTURX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
> eth0 1500 8254258 0 0 0 7682795 0 0 0
> BMRU
> lo 65536 579959 0 0 0
On Tue, Aug 15, 2017 at 03:03:35PM +0200, Dejan Jocic wrote:
> And what exactly do you miss in ifconfig and net-tools package, that you
> can not do with ip, which is part of iproute2 package that comes as part
> of base system?
What iproute2 and net-tools are BOTH missing is a sane, script-friend
On 15.08.17 15:03, Dejan Jocic wrote:
> And what exactly do you miss in ifconfig and net-tools package, that you
> can not do with ip, which is part of iproute2 package that comes as part
> of base system?
Around 30 years of familiarity across many *nix flavours. If the package
builders are more f
On 15-08-17, Erik Christiansen wrote:
> On 15.08.17 13:33, Nicolas George wrote:
> > L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > > If it's no longer part of the base system, then perhaps the system is
> > > too base?
> >
> > Please ellaborate. Why should ifconfig be part of th
On 15.08.17 13:33, Nicolas George wrote:
> L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> > If it's no longer part of the base system, then perhaps the system is
> > too base?
>
> Please ellaborate. Why should ifconfig be part of the base system?
With pleasure. It is the most basi
L'octidi 28 thermidor, an CCXXV, Erik Christiansen a écrit :
> If it's no longer part of the base system, then perhaps the system is
> too base?
Please ellaborate. Why should ifconfig be part of the base system?
Regards,
--
Nicolas George
37 matches
Mail list logo