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 |
write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?
what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly
How do scripts work?
How to pass an argument to a script?
What are different types of shell?
What is another name for a bash shell script that you might see?
What does $$ mean in shell script?
How will you find the 99th line of a file using only tail and head command?
is this growing field and what is average package in this?
How do you read arguments in a shell program - $1, $2 ..?
What is the significance of the shebang line in shell scripting?
How can I set the default rwx permission to all users on every file which is created in the current shell?