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.
Answer Posted / 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 View All Answers
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is the use of echo in shell script?
Is shell scripting a programming language?
Where are cowrie shells found?
What is scripting used for?
What is web script?
What is shell variable?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What is @echo off?
What is c in shell script?
What is the use of a shebang line?
Is shell scripting a language?
What does debug script mean?
What is bash command used for?