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
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What is shell variable?
What does $$ mean in shell script?
What is the use of a shebang line?
What is difference between shell and bash scripting?
What is the crontab?
Is it possible to substitute "ls" command in the place of "echo" command?
How do I stop script errors?
What are the disadvantages of shell scripting?
What are different types of shell?
What is echo in shell?
What is the significance of the shebang line in shell scripting?
What are the advantages of shell scripting?
What is a shell script? Can you name some of its advantages?
What command needs to be used to take the backup?