how to create new options of "dd command" using bash script?

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:
    Creating bash script the dd command and its new options (-l -U)
    -l options to lowercase contents of file
    -U options to UPPERCASE contents of file
    in such a way that when it invokes the
dd -U if=test of=test.bak

then the output of contents of file will become UPPERCASE or vise versa in the -l options

  1. Relevant commands, code, scripts, algorithms:
    Sample:

vi test and press Enter

#! /bin/bash
this is the test script to make contents of file UPPERCASE

vi test2 and press Enter

#! /bin/bash
THIS IS THE TEST2 SCRIPT TO MAKE CONTENTS OF FILE lowercase

then press Enter again..
Type:
chmod a+x test

And in command line type:
dd -U if=test of=test.bak and press Enter
dd -l if=test2 of=test2.bak and press Enter
Output the 2 should be:

THIS IS THE TEST SCRIPT TO MAKE CONTENTS OF FILE UPPERCASE

this is the test2 script to make contents of file lowercase

  1. The attempts at a solution (include all code and scripts):
#! /bin/bash
this is the test script to make contents of file UPPERCASE
  1. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

San Lazaro University, New york (California), United States, Instructor Maldeo Meinier, OS221

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).

Hi katherineskye1,

We cannot find your university in New York on the net. Please provide a link to this school.

Thanks!

To get you started, many have tried to understand this assignment this week.
There are suggestions this closed thread.
http://www.unix.com/shell-programming-scripting/177726-aliasing-command.html

I'm not clear whether your solution is allowed to use the "dd" command or not?
The "dd" command is unusual in unix because it uses the syntax "switch=value" rather than the more usual "-switch value" or the Linux "--switch=value".

Tip: I'd avoid calling a script "test". It is the name of a unix command.