> perl -i -pe 's/something/somethingelse/' filename
>
> from a gluster mount. This command does remove the content of the file,
> making it 0 bytes in glusterfs v3.2.0, and in glusterfs v3.2.3 it also
> kills the client so the mountpoint have to be unmounted and mounted
> again.
FWIW it works fine with glusterfs 3.2.2 on NetBSD.