Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?

6 Answers   IBM, Wipro,


what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly

4 Answers  


How do scripts work?

0 Answers  


How to pass an argument to a script?

0 Answers  


What are different types of shell?

0 Answers  


What is another name for a bash shell script that you might see?

0 Answers  


What does $$ mean in shell script?

0 Answers  


How will you find the 99th line of a file using only tail and head command?

0 Answers  


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

0 Answers  


How do you read arguments in a shell program - $1, $2 ..?

4 Answers  


What is the significance of the shebang line in shell scripting?

0 Answers  


How can I set the default rwx permission to all users on every file which is created in the current shell?

0 Answers  


Categories