Quick bash script I put together to convert VMAX NAAs into the values seen within PowerPath on Linux hosts. There's a PowerShell script floating around the internet to do the same thing but nothing in bash.
#!/bin/bash
# (C) 2014 Derek Morton
# Licensed under GPL 2.0
naa=$1
naalen=