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


Please Help Members By Posting Answers For Below Questions

Is shell scripting easy to learn?

571


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

598


State the advantages of shell scripting?

595


What lives in a shell?

540


What is meant by $1 in shell script?

549






How to set an array in linux?

598


How do I run a shell script on a mac?

631


Tell something about the super block in shell scripting?

574


How do scripts work?

610


What is shell and shell script?

558


What command needs to be used to take the backup?

528


What is difference between shell and bash scripting?

549


What's the difference between scripting and coding?

599


How to use arguments in a script?

581


What is subshell?

531