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
What is another name for a bash shell script that you might see?
How do I start a shell script?
How does path variable work?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is shell geeksforgeeks?
Can you write a script to portray how set –x works?
How will you copy a file from one machine to other?
How to get script name inside a script?
What shell is bin sh?
How do you create a shortcut in linux?
What is difference between shell and bash scripting?
What is bash eval?
What is mac default shell?
What is difference between bash and shell?
How to find all the files modified in less than 3 days and save the record in a text file?