Hello masters of AWK,
I've been trying for hours to solve this problem and need some help please.
I have files with content similar to
---cut---
5 1 0x406B01AC[free(0x406b0120)+0x8c] 0x405192BC[aaa_idb_name_cleanup(0x4051929c)+0x20] 0x4051F840[free_general_db(0x4051f828)+0x18] 0x4051F8F4[cleanup_general_db(0x4051f8d4)+0x20]
0x4050FD54 0x40515FF0 0x40501458 0x4051B5A80x4050FD54[aaa_db_cleanup_db_element(0x4050fc28)+0x12c] 0x40515FF0[aaa_acct_post_event(0x40515258)+0xd98] 0x40501458[aaa_event_send_and_free(0x405012fc)+0x15c] 0x4051B5A8[aaa_uid_send_event(0x4051b534)+0x74]
0 7 0x41AE8AD4[bc32_odd_loop(0x41ae8ac8)+0xc] 0x406B70D0[log_debug_buffer(0x406b706c)+0x64] 0x406B7240[validblock_diagnose(0x406b7114)+0x12c] 0x406B58E4[validblock(0x406b5404)+0x4e0]
0x406B0250 0x405192BC 0x4051F840 0x4051F8F4 0x406B0250[free(0x406b0120)+0x130] 0x405192BC[aaa_idb_name_cleanup(0x4051929c)+0x20] 0x4051F840[free_general_db(0x4051f828)+0x18] 0x4051F8F4[cleanup_general_db(0x4051f8d4)+0x20]
%
---cut---
and need to print the contents between [ and ] but nothing else.
Thanks in advance for your help.
-Joe
I've been trying for hours to solve this problem and need some help please.
I have files with content similar to
---cut---
5 1 0x406B01AC[free(0x406b0120)+0x8c] 0x405192BC[aaa_idb_name_cleanup(0x4051929c)+0x20] 0x4051F840[free_general_db(0x4051f828)+0x18] 0x4051F8F4[cleanup_general_db(0x4051f8d4)+0x20]
0x4050FD54 0x40515FF0 0x40501458 0x4051B5A80x4050FD54[aaa_db_cleanup_db_element(0x4050fc28)+0x12c] 0x40515FF0[aaa_acct_post_event(0x40515258)+0xd98] 0x40501458[aaa_event_send_and_free(0x405012fc)+0x15c] 0x4051B5A8[aaa_uid_send_event(0x4051b534)+0x74]
0 7 0x41AE8AD4[bc32_odd_loop(0x41ae8ac8)+0xc] 0x406B70D0[log_debug_buffer(0x406b706c)+0x64] 0x406B7240[validblock_diagnose(0x406b7114)+0x12c] 0x406B58E4[validblock(0x406b5404)+0x4e0]
0x406B0250 0x405192BC 0x4051F840 0x4051F8F4 0x406B0250[free(0x406b0120)+0x130] 0x405192BC[aaa_idb_name_cleanup(0x4051929c)+0x20] 0x4051F840[free_general_db(0x4051f828)+0x18] 0x4051F8F4[cleanup_general_db(0x4051f8d4)+0x20]
%
---cut---
and need to print the contents between [ and ] but nothing else.
Thanks in advance for your help.
-Joe