Hello Unix Gurus :
It would be really great if a solution can be found
Following is the condition on Solaris
Change all the records to upper case
ignore the case for records having "A2B2 " in them .
how can i use nawk or any other command
Following is the SAMPLE
INPUT FILE (DATA.DAT)
222222 1 A1B1 aaabbb ccccccccc
333333 6 A2B2 XXXXXXXYYYYYY DDDDDDDDDDDDDD
555555 Q222 hhhvvvv jkjkjkjkjk
888888 4 A2B2 jjjjjjjjjjj uuuuuuuuuuuuuu
OUTPUT DESIRED
222222 1 A1B1 AAABBB CCCCCCCCC
333333 6 A2B2 XXXXXXXYYYYYY DDDDDDDDDDDDDD
555555 Q222 HHHVVVV JKJKJKJKJK
888888 4 A2B2 jjjjjjjjjjj uuuuuuuuuuuuuu
Is there any other option to get the above mentioned output
Thanks
B-