Is there a more elegant way to do this:
This will output 16 characters with '-' signs between the output like (i.e.): EjSe-Cla4-OaT7-IR26
Code:
mktemp -u XXXXXXXXXXXXXXXX | sed 's/\(....\)\(....\)\(....\)\(....\)/\1-\2-\3-\4/g'
Comment