Editing lsblk output

lsblk -o NAME | grep -A1 -w "sdh" |grep -v "sdh"
mpathw

Note the above output

I would like to create variable called $MPATH

echo $MPATH using the input of the above

echo $MPATH

mpatchw

Basically, I am trying to grab the NAME after the bar/dash configuration

------ Post updated at 09:32 PM ------

WORK=`lsblk -o NAME | grep -A1 -w "$DISK" |grep -v "$DISK"`
WORK2=${WORK:2}

Figured this out - I was not thinking at the time

Hi,
why do you not use option -r of the command lsblk like this ? :

lsblk -ro NAME | grep -A1 -w "$DISK" |grep -v "$DISK"

Regards.