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
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
What is sed in shell script?
How do I open the shell in cmd?
Explain about "s" permission bit in a file?
Calculate a real number calculation directly from the terminal and not any shell script.
what is info area how many types?
Explain about return code?
What is mac default shell?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
Is it possible to substitute "ls" command in the place of "echo" command?
Why is the use of shell script?
Is shell script a programming language?
What is an inode block?
Write a command sequence to find the count of each word?
What is the difference between scripting and coding?