sed command does not behave equal from 10.3 to 11.0
Matthew D. Fuller
fullermd at over-yonder.net
Wed Jul 27 09:08:42 UTC 2016
On Wed, Jul 27, 2016 at 09:45:23AM +0100 I heard the voice of
krad, and lo! it spake thus:
> are you sure you aren't hitting a port or something?
Locale dependant.
% echo "abc_ABC.def" | env LANG=C sed -e 's/[^A-Z0-9]//g'
ABC
% echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^A-Z0-9]//g'
bcABCdef
(pre-branch -CURRENT)
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the freebsd-stable
mailing list