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
Is shell scripting easy to learn?
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.
State the advantages of shell scripting?
What lives in a shell?
What is meant by $1 in shell script?
How to set an array in linux?
How do I run a shell script on a mac?
Tell something about the super block in shell scripting?
How do scripts work?
What is shell and shell script?
What command needs to be used to take the backup?
What is difference between shell and bash scripting?
What's the difference between scripting and coding?
How to use arguments in a script?
What is subshell?