Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT scripting - strip zero if between period and digit
Date: Mon, 21 Jan 2019 23:50:59
1 I need to clean up a file which has IP addresses with leading zeros in some
2 of the octets so I need to make, say, .09 into .9
4 How do i do that in sed/awk/whatever?