sub.c (90109) | sub.c (99109) |
---|---|
1/* sub.c: This file contains the substitution routines for the ed 2 line editor */ 3/*- 4 * Copyright (c) 1993 Andrew Moore, Talke Studio. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 | 1/* sub.c: This file contains the substitution routines for the ed 2 line editor */ 3/*- 4 * Copyright (c) 1993 Andrew Moore, Talke Studio. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 */ 28 |
29#ifndef lint 30static const char rcsid[] = 31 "$FreeBSD: head/bin/ed/sub.c 90109 2002-02-02 06:36:49Z imp $"; 32#endif /* not lint */ | 29#include <sys/cdefs.h> 30__FBSDID("$FreeBSD: head/bin/ed/sub.c 99109 2002-06-30 05:13:54Z obrien $"); |
33 34#include "ed.h" 35 36 37char *rhbuf; /* rhs substitution buffer */ 38int rhbufsz; /* rhs substitution buffer size */ 39int rhbufi; /* rhs substitution buffer index */ 40 --- 216 unchanged lines hidden --- | 31 32#include "ed.h" 33 34 35char *rhbuf; /* rhs substitution buffer */ 36int rhbufsz; /* rhs substitution buffer size */ 37int rhbufi; /* rhs substitution buffer index */ 38 --- 216 unchanged lines hidden --- |