Deleted Added
full compact
ul.c (132882) ul.c (146466)
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
45 "$FreeBSD: head/usr.bin/ul/ul.c 132882 2004-07-30 10:58:06Z tjr $";
45 "$FreeBSD: head/usr.bin/ul/ul.c 146466 2005-05-21 09:55:10Z ru $";
46#endif /* not lint */
47
48#include <err.h>
49#include <locale.h>
50#include <stdio.h>
51#include <stdlib.h>
52#include <string.h>
53#include <termcap.h>

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

160 filter(f);
161 }
162 exit(0);
163}
164
165static void
166usage(void)
167{
46#endif /* not lint */
47
48#include <err.h>
49#include <locale.h>
50#include <stdio.h>
51#include <stdlib.h>
52#include <string.h>
53#include <termcap.h>

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

160 filter(f);
161 }
162 exit(0);
163}
164
165static void
166usage(void)
167{
168 fprintf(stderr, "usage: ul [-i] [-t terminal] file...\n");
168 fprintf(stderr, "usage: ul [-i] [-t terminal] [file ...]\n");
169 exit(1);
170}
171
172void
173filter(FILE *f)
174{
175 wint_t c;
176 int i, w;

--- 393 unchanged lines hidden ---
169 exit(1);
170}
171
172void
173filter(FILE *f)
174{
175 wint_t c;
176 int i, w;

--- 393 unchanged lines hidden ---