Shell script to find out words, replace them and count words

hello,

i 'd like your help about a bash script which:

  1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
    2.finds the link which leads to the download location of the Latest Stable Kernel version,
    (the right link should lead to the file linux-x.x.x.tar.bz2)
  2. Downloads from the link above the kernel of Linux (with wget)
  3. Decompresses the attached directory which contains the code of the kernel
  4. The script then searches in each file in the directory to find the word "Linus" and will replace with a string given by the user.
  5. For every replace it will print in a file, a row which has three rows:
    i. the name of the file in which the word "Linus" was found,
    ii. the number of the line in which the word was found,
    iii. the container of the line after the replacement.

every possible help will be very appreciated. Thank you.

What have you tried so far ?

Basically not much. It is my first assignment on shell programming, and it seems like I am a bit lost in the online tutorials. Anything on this is helpful.. Thank you

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.