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 does .sh file contain?
Given a file find the count of lines containing the word "abc".
Explore about environment variables?
how is the oppurtunities for unix in the software
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
How to change our default shell?
What is c in shell script?
I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
write a shell script to check whether all the directories in the path exist has read and write permission
What is bourne shell scripting?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
How do I open the shell prompt?