Hi, > How about > > option ssid Lede-$(cat /sys/class/ieee80211/${dev}/macaddress | awk -F > ":" '{print $4""$5""$6 }'| tr a-z A-Z) Or with sed: sed -ne 'y/abcdef/ABCDEF/; 1s/^.*:\(..\):\(..\):\(..\)$/\1\2\3/p' \ /sys/class/ieee80211/${dev}/macaddress ~ Jo