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 I can use [i]somedcmds !grep "addr = 0x" | awk '{print $3}'[/i] to get the result. But i cannot do like this, because the output cannot be used in MDB and i expect the ouput can be used as input of some other dcmd. How to solve it? Thanks, Yongce This message posted from opensolaris.org