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
Explain about echo command?
What is the default ubuntu terminal?
What is a shell script? Can you name some of its advantages?
What is path in shell script?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What is bash coding?
What are scripts in psychology?
What is ms powershell?
Why are shell scripts used?
Explain about gui scripting?
How do you debug a script?
What is shell variable?
How will you pass and access arguments to a script in linux?
What does $@ mean bash?
Is cmd a shell?