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 |
How to make userdefined variables to available for all other shells?
What is the difference between grep and egrep?
What is the default shell of solaris?
What is the use of .sh file?
is this growing field and what is average package in this?
What is the use of echo in shell script?
Is shell scripting easy to learn?
Why should we use shell scripts?
What language is used in terminal?
What is difference between bash and shell?
How many fields are present in a crontab file and what does each field specify?
How do I run a powershell script?