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
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 |
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 |
what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly
What is a shell in operating system?
What is the syntax of "expr" command?
what is the difference between sh & bash shell?
How to print all the arguments provided to the script?
What are zombie processes?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
What is .sh file in mac?
What is the meaning of $1 in shell script?
What is difference between shell and bash scripting?
How do you schedule a command to run at 4:00 every morning?
Write a shell script to check whether a number is Armstrong number or not?