Question: Here is my code 

html
====

```
<h1 class="logo-title"><span>DAVE</span></h1>

```

css
===

```
h1.logo-title {background: url(bg.jpg) no-repeat;background-position: 50% 100%;-webkit-background-clip: text;}

```

I am trying to use my background image zoomin and zoomout animation effect like those websites. here is demo.
<http://wowslider.com/jquery-slider-bar-kenburns-demo.html>
<http://owwwlab.com/toranj/index-2.html>

please give me any sollution for my background image. Anybody help me out in this situation. ??

Answer: 
Using awk:

```
awk '{printf "insert into names_db values(%s,%s);\n", tolower($0), toupper($0)}' file
insert into names_db values(david,DAVID);
insert into names_db values(mathew,MATHEW);
insert into names_db values(philip,PHILIP);

```
A single sed will do this job. You don't need to create a script.

```
sed 's/.\+/insert into names_db values(&,\U&);/g' file

```

`&` refers all the matched characters. `\U&` would turn all the matched characters to uppercase.

**OR**

```
$ sed 's/.*/insert into names_db values(&,\U&);/g' file
insert into names_db values(david,DAVID);
insert into names_db values(mathew,MATHEW);
insert into names_db values(philip,PHILIP);

```