[Ask For Your Help] Checking missing data's sequence (shell script | UNIX command)

view story

http://www.unix.com – Dear All members, i have some trouble here, i want to ask your help. The case is: I have some data, it's like: -ABCD1234 -ABCD1235 -ABCD1237 -BCDE1111 -BCDE1112 -BCDE1114 there is some missing data's sequence (the format is: ABCD = name 1234 = sequence). I want to print the missing sequence (ABCD1236 and BCDE1113) and direct into one file. Ex: ~more missing-sequence.txt ABCD1236 BCDE1113 the data above is missing in my directory. Can someone help me to give me an example of shell script to check the missing file? (HowTos)