Yuri Vorobyev
2010-Dec-07 12:53 UTC
[zfs-discuss] convert output zfs diff to something human readable
Hello. It is possible to convert "octal representation" of zfs diff output to something human readable? Iconv may be? Please see screenshot http://i.imgur.com/bHhXV.png I create file with russian name there. OS is Solaris 11 Express.
Yuri Vorobyev
2010-Dec-08 06:35 UTC
[zfs-discuss] convert output zfs diff to something human readable
> It is possible to convert "octal representation" of zfs diff output to > something human readable? > Iconv may be? > > Please see screenshot http://i.imgur.com/bHhXV.png > I create file with russian name there. OS is Solaris 11 Express.This command did the job: zfs diff .... | perl -plne ''s#\\\d{8}(\d{3})#chr(oct ($1)-oct (400))#ge; s#\\040# #g''