i am writing a shell which would read from a parameter file , and once the file is read it should not display those lines in the output file
Example
Prameter file is b.txt and it contains the following :
aaaa
cccc
ffffff
rrrrrr
qqqq
and i issue the command df -d it will display all the datas and store it in a log file , but those lines which are mentioned should not be there in the log file
can anyone help me on this
i am executing a command autorep -j % and redirecting the ouput to one file
autorep -j % -q > data1.txt
data1.txt has all the information which is avaiable in the database
and have a parameter file which has these lines (b.txt)
qqqqq
aaaa
asss
assddd
454545
Once i run the shell script with the command included
autorep -j % -q > data1.txt , it should read from the parameter file and should produce another output data2.txt , and those ouput should not have the lines which are in b.txt
autorep -j e% -q will display all the jobs in the database
i am redirecting it to an output file
autorep -j e% -q > data1.txt
i have another parameter file b.txt
qqqq
aaaa
3333
454545
once i execute the shell it has to collect all the information using autorep command , and then read from the parameter file b.txt and my final output should have all info other than the names which are mentioned in b.txt
can i get any sample code how to proceed on this
Thankyou!!