From: Philip P. <phi...@re...> - 2009-05-07 14:27:28
|
Lonnie Abelbeck wrote: > On May 6, 2009, at 10:49 PM, Philip Prindeville wrote: > > >> Yeah, I was thinking: >> >> DDHOST=`echo "$DDHOST" | sed 's/,.*//'` >> >> might have been a little simpler. >> >> -Philip >> > > I agree that would be simpler, it would solve the FreeDNS issue, and > if you want me to change it I will. > > A power user could also set DDHOST to "foo.com -a goo.com", but > unlikely, but the current fix handles all cases. > > If you want the simpler solution, I will change it. > > Lonnie > let's use: sed 's/[, ].*//' in that case. |