On Thu, Apr 16, 2015 at 09:29:56AM -0500, Dan Douglas wrote:
> I find myself in need of something along the lines of Python's
> `re.split` and `re.findall` all the time. E.g. splitting an ip into an
> array of octets.

IFS=. read -ra octets <<< "$ip"

Reply via email to