Peter Memishian wrote:
>  > For the choice of delimiter, if the "read" routines already handle
>  > the escape sequences AND you are generating all the output, you could
>  > as easily generate MAC addrs in an escaped form and the consuming
>  > shell wouldn't need to care.  (yes, MAC addrs of the form xx\:yy\:zz
>  > would show up in the output stream, but (other than being ugly) would
>  > add no effective complexity to their use...)
> 
> That's a good point, especially since the output is intended only for
> scripts (which won't be offended by the escapes), and using : is slightly
> easier for scripts since IFS=: doesn't require any quoting, but IFS='|'
> requires the surrounding single-quotes (as shown) to not be misparsed by
> the shell.  John (Leser): what do you think?
> 

I'm fine with ':', especially give that zoneadm already uses it.

-John

Reply via email to