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
Give some situations where typing error can destroy a program?
Is scripting and coding the same thing?
What are the types of script?
Is powershell a language?
Explore about environment variables?
How do I read a .sh file?
How do I stop script errors?
What is a program shell?
What is shell environment?
What command needs to be used to take the backup?
What lives in a shell?
Tell something about the super block in shell scripting?
What is bash used for?
What does egrep mean?
What is difference between shell and bash scripting?