A file has multiple records each having three 30-bit long
fields(field1,field2,field3).There is also a lookup
file,LOOK_UP.dat.Now, we need to consider only the
last ten digits of field1 and lookup the file LOOK_UP.dat.
If there a match then field2 and field3 should replaced
with corresponding data from the lookup file. otherwise
that particular record,for which there is no match, should
be stored in a seperate file.
Answer Posted / tazz
If we would knew the structure of LOOK_UP.dat (like the
structure of file is mentioned) then the script could be
more precisely written.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
State the advantages of shell scripting?
What is console line?
What is the best scripting language?
What is in a script?
How many fields are present in a crontab file and what does each field specify?
How do I open the shell in cmd?
What language is bash written in?
Please give me example of " at command , contrab command " how to use
Write a script to print the first 10 elements of fibonacci series.
What is shell geeksforgeeks?
What does echo mean in scripting?
What are the various stages of a linux process it passes through?
Write the syntax for "if" conditionals in linux?
What makes c shell a more preferable option than the bourne shell?
Is shell scripting difficult?