Adding new lines to a file + adding suffix to a pattern

I need some help with adding lines to file and substitute a pattern.

Ok I have a file:

#cat names.txt

name: John Doe
stationed: 1

name: Michael Sweets
stationed: 41

.
.
.

And would like to change it to:

name: John Doe
employed
permanently
stationed: 1-office

name: Michael Sweets
employed
permanently
stationed: 41-office

Lines "employed" and "permanently" are static and I would like to add those two lines after every name. Then I would like to add a suffix "-office" after every number.

Can anyone please give me a solution.
thanks in advance.

HemoLymph

try this:

awk -F: ' { if ($1=="name") { printf "%s%s\n%s\n%s\n", "name:", $2, "employed", "permanently"} \
else if($0!="") printf "%s%s\n\n", $0, "-office"}  ' names.txt

Try,

awk '/^name/ { print $0; print "employed\npermanently" } /^stationed/ { print $0"-office\n" }' inputfile
$> awk '/^name:/ {print $0 RS "employed" RS "permanently"; next} /^stat/ {print $0"-office"; next}1' infile
name: John Doe
employed
permanently
stationed: 1-office

name: Michael Sweets
employed
permanently
stationed: 41-office

Try this:

awk -F": " '
/name/{s=$0 RS "employed" RS "permanently" RS}
/stationed/{print s $0 "-office\n"}' file

With sed:

sed '/name:/,/^$/ {
s/\(name:.*\)$/\1 \
employed \
permanently/
/stationed: / s/\([0-9]*\)$/\1-office/
}' names.txt

Thanks for all the help.
Kind regards.

Hemolymph

local $/="\n\n";
while(<DATA>){
	s/(name\s*:\s*[^\n]*)\n(.*)/$1."\nemployed\npermanantly\n".$2."-office"/e;
	print;
}
__DATA__
name: John Doe
stationed: 1

name: Michael Sweets
stationed: 41