On Wed, Aug 02, 2006, Gary Kline wrote:
>
>       Guys,
>
>       How, pray tel, do I use ed to delete 23 lines?  I can find "foo"
>       with /foo, but then .,20d or .,+20d or .,+20 d don't work.

.,.+20d

<dot><comma><dot>+20d

If you use the ``ex'' invocation of vi(m), ``20dd'' should do it.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Perhaps, when committing your first federal crime, it would be unwise to
slap your name and address on it and mail it to 10,000 people.'' --Dogbert
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to