2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
5 * %sccs.include.redist.c%
9 static char sccsid
[] = "$Id: ex_yank.c,v 8.2 1993/11/04 16:16:55 bostic Exp $ (Berkeley) $Date: 1993/11/04 16:16:55 $";
12 #include <sys/types.h>
18 * ex_yank -- :[line [,line]] ya[nk] [buffer] [count]
20 * Yank the lines into a buffer.
29 F_ISSET(cmdp
, E_BUFFER
) ? cmdp
->buffer
: DEFCB
,
30 &cmdp
->addr1
, &cmdp
->addr2
, 1));