I have real zpool with files, but want to test firstly.
I created simple zpool with files:
# zpool status -v
scan: resilvered 19.5K in 0h0m with 0 errors on Thu Mar 14 14:44:20 2019
NAME STATE READ WRITE CKSUM
I would expect the same output of the following two commands, but the first one looks wrong to me:
% echo abc^ABC.123 | sed 's/[^A-z0-9]/_/g'
% echo abc^ABC.123 | sed 's/[^[:alnum:]]/_/g'
abc_ABC_123By the way, gsed does the same. Am I missing something?..