Deleted Added
full compact
echo.c (22988) echo.c (25222)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)echo.c 8.2 (Berkeley) 5/4/95
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)echo.c 8.2 (Berkeley) 5/4/95
37 * $Id$
37 * $Id: echo.c,v 1.7 1997/02/22 13:58:59 peter Exp $
38 */
39
40/*
41 * Echo command.
42 */
43
44#define main echocmd
45
46#include "bltin.h"
47
48/* #define eflag 1 */
49
50int
51main(argc, argv)
52 int argc;
53 char **argv;
54{
38 */
39
40/*
41 * Echo command.
42 */
43
44#define main echocmd
45
46#include "bltin.h"
47
48/* #define eflag 1 */
49
50int
51main(argc, argv)
52 int argc;
53 char **argv;
54{
55 register char **ap;
56 register char *p;
57 register char c;
55 char **ap;
56 char *p;
57 char c;
58 int count;
59 int nflag = 0;
60#ifndef eflag
61 int eflag = 0;
62#endif
63
64 ap = argv;
65 if (argc)

--- 44 unchanged lines hidden ---
58 int count;
59 int nflag = 0;
60#ifndef eflag
61 int eflag = 0;
62#endif
63
64 ap = argv;
65 if (argc)

--- 44 unchanged lines hidden ---