I want to write a code to fulfil the below conditions :
and in the command prompt i will be accepting the application name from the user
i have 2 .txt files in unix home directory : namely text1.txt and text2.txt
i have data like application name,purge period (many application namesP
and in the other text file i have application name,table name and the column names
what i want to achieve is search for the given application name by the user in the text file 1
and if found, search for the table names in the text file 2 and my processsing takes care of deleting the data and taking the backup of the tables selected from the text file
how to acheive this ?