#!/bin/bashs='<gateway ws="ws://1.1.1.23:8333" uid="123B0X3C"/>'NOD=$(sed -n 's/.*uid="\([^"]*\).*/\1/p' <<< "$s")echo "$NOD"
Standard input is empty
123B0X3C
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!