Hi there,
I want to compare 2nd column which are alphanumeric values from each of the 2 files i.e.,lspv_pre.out and lspv_post.out , if found echo some message.
lspv_pre.out
hdisk0 00c39eaa451144dd rootvg active
hdisk1 00c39eaa45223322 testvg1 active
hdisk2 00c39eae321733d8 testvg1 active
hdisk3 00c39eaa121273d8 testvg1 active
hdisk4 00c39eaa340989e3 testvg2 active
hdisk5 00c39eaa57821b1a testvg2 active
hdisk6 00c39eaa68dd9313 testvg2 active
lspv_post.out
hdisk0 00c39eaa451144dd rootvg active
hdisk1 00c39eaa45223322 None None
hdisk4 00c39eae321733d8 None None
hdisk5 00c39eaa121273d8 None None
hdisk6 00c39eaa340989e3 None None
hdisk7 00c39eaa57821b1a None None
hdisk9 00c39eaa68dd9313 None None
Any help is much appreciated...
Thanks
MBAK