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.

Answers were Sorted based on User's Feedback



A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is al..

Answer / 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

A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is al..

Answer / 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

More Shell Script Interview Questions

How can I send a mail with a compressed file as an attachment?

0 Answers  


Is shell a scripting language?

0 Answers  


What is the syntax of "expr" command?

2 Answers  


Can shell script run on windows?

0 Answers  


I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?

1 Answers  






is this growing field and what is average package in this?

0 Answers  


Is cmd a shell?

0 Answers  


What is shift command in shell script?

0 Answers  


Why do we write bin bash in shell scripts?

0 Answers  


What are the various stages of a linux process it passes through?

0 Answers  


write a shell program to check wheather a given string is pallindrome or not?

4 Answers  


how to get part of string variable with echo command only?

0 Answers  


Categories