sed script help

From: pelicancomputers (rfransix@yahoo.com)
Date: Mon Jul 01 2002 - 16:50:49 EDT


i can't get this, any help is welcome, thank you.

i want to insert two lines after line that begins with
dn:

#!/bin/sh
sed 'dn: *'\i
changetype: modify
replace: userpassword' < 1.ldif > 2.ldif
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:32 EDT