cat /sys/class/fc_host/{host1,host2,host3,host4}/port_name |sed 's/^(..)(..)(..)(..)(..)(..)(..)(..).*$/1:2:3:4:5:6:7:8/'|sed 's/[A-Z]/l&/g' | sed 's/0x://g'
cat /sys/class/fc_host/{host1,host2,host3,host4}/port_name |sed 's/^(..)(..)(..)(..)(..)(..)(..)(..).*$/1:2:3:4:5:6:7:8/'|sed 's/[A-Z]/l&/g' | sed 's/0x://g'