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
How can you get the value of pi till a 100 decimal places?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
Where is bash history?
What is the syntax of while loop in shell scripting?
Write down the syntax for all the loops in shell scripting.
Given a file find the count of lines containing the word "abc".
What does $1 mean in bash?
Calculate a real number calculation directly from the terminal and not any shell script.
What is k shell?
How do I run a shell script on a mac?
shell script for reverse the string
How to get script name inside a script?
How will you print the login names of all users on a system?
What is shell prompt?
How do you find out What is your shell?