I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from
ifconfig, and it would assume that there was no
: (colon) after the interface name.
E.g. directly behind the
eth0 Link encap:Ethernet HWaddr 08:00:27:da:bb:a9 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:feda:bba9/64 Scope:Link
I have confirmed already that the output is different between Distributions, e.g. on CentOS it looks quite different.
I was wondering about a good way to version-track code like this.
Given a specific Linux distro/version, how can I quickly get to the source code of its
How would I know, when it has changed the last time, or how often it changes?