Sowmini.Varadhan at Sun.COM wrote:
>> This works, but I feel like I'm abusing the cut command. :-}  I'm sure 
>> someone can come up with a more clever method.  Any takers?
> 
> Not sure if this is more clever, but how about 
> 
> dladm show-iptun -p |awk -F\" '{print $2}'

Oooh, I knew there were a few more people more clever than me on this 
mailing list. ;-)  This works well for what I want.

In general, however, this method (and the method I had originally used) 
suffers from depending on the ordering of the fields.

Thanks,
-Seb

Reply via email to