glbl.c (90109) | glbl.c (99109) |
---|---|
1/* glob.c: This file contains the global command routines for the ed line 2 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/* glob.c: This file contains the global command routines for the ed line 2 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/glbl.c 90109 2002-02-02 06:36:49Z imp $"; 32#endif /* not lint */ | 29#include <sys/cdefs.h> 30__FBSDID("$FreeBSD: head/bin/ed/glbl.c 99109 2002-06-30 05:13:54Z obrien $"); |
33 34#include <sys/types.h> | 31 32#include <sys/types.h> |
35 | |
36#include <sys/ioctl.h> 37#include <sys/wait.h> 38 39#include "ed.h" 40 41 42/* build_active_list: add line matching a pattern to the global-active list */ 43int --- 178 unchanged lines hidden --- | 33#include <sys/ioctl.h> 34#include <sys/wait.h> 35 36#include "ed.h" 37 38 39/* build_active_list: add line matching a pattern to the global-active list */ 40int --- 178 unchanged lines hidden --- |