On Thu, May 25, 2006 at 08:25:14PM -0700, Yongce Tu wrote: > hi, > > I got the following output by using some dcmds: > addr = 0xd5e1c328 > addr = 0xd5e1c328 > addr = 0xd5e1c328 > addr = 0xd5e1c710 > addr = 0 > adrr = 0 > ... > > Can I use any dcmd to just retain the items like "[i]addr = 0x????????[/i]"? > The result looks like the following: > addr = 0xd5e1c328 > addr = 0xd5e1c328 > addr = 0xd5e1c328 > addr = 0xd5e1c710
> And then, can i use pipeline and any dcmd to get the result like the > following? > 0xd5e1c328 > 0xd5e1c328 > 0xd5e1c328 > 0xd5e1c710 ...dcmds... | ::grep '.' should do the trick. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development