Deleted Added
full compact
ls.c (99744) ls.c (101677)
1/*
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Michael Fischbein.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41#endif /* not lint */
42
43#if 0
44#ifndef lint
45static char sccsid[] = "@(#)ls.c 8.5 (Berkeley) 4/2/94";
46#endif /* not lint */
47#endif
48#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Michael Fischbein.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41#endif /* not lint */
42
43#if 0
44#ifndef lint
45static char sccsid[] = "@(#)ls.c 8.5 (Berkeley) 4/2/94";
46#endif /* not lint */
47#endif
48#include <sys/cdefs.h>
49__FBSDID("$FreeBSD: head/bin/ls/ls.c 99744 2002-07-10 20:44:55Z dillon $");
49__FBSDID("$FreeBSD: head/bin/ls/ls.c 101677 2002-08-11 13:05:30Z schweikh $");
50
51#include <sys/types.h>
52#include <sys/stat.h>
53#include <sys/ioctl.h>
54
55#include <dirent.h>
56#include <err.h>
57#include <errno.h>

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

109static int f_recursive; /* ls subdirectories also */
110static int f_reversesort; /* reverse whatever sort is used */
111 int f_sectime; /* print the real time for all files */
112static int f_singlecol; /* use single column output */
113 int f_size; /* list size in short listing */
114 int f_slash; /* similar to f_type, but only for dirs */
115 int f_sortacross; /* sort across rows, not down columns */
116 int f_statustime; /* use time of last mode change */
50
51#include <sys/types.h>
52#include <sys/stat.h>
53#include <sys/ioctl.h>
54
55#include <dirent.h>
56#include <err.h>
57#include <errno.h>

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

109static int f_recursive; /* ls subdirectories also */
110static int f_reversesort; /* reverse whatever sort is used */
111 int f_sectime; /* print the real time for all files */
112static int f_singlecol; /* use single column output */
113 int f_size; /* list size in short listing */
114 int f_slash; /* similar to f_type, but only for dirs */
115 int f_sortacross; /* sort across rows, not down columns */
116 int f_statustime; /* use time of last mode change */
117 int f_stream; /* stream the output, seperate with commas */
117 int f_stream; /* stream the output, separate with commas */
118static int f_timesort; /* sort by time vice name */
119 int f_type; /* add type character for non-regular files */
120static int f_whiteout; /* show whiteout entries */
121 int f_lomac; /* show LOMAC attributes */
122#ifdef COLORLS
123 int f_color; /* add type in color for non-regular files */
124
125char *ansi_bgcol; /* ANSI sequence to set background colour */

--- 678 unchanged lines hidden ---
118static int f_timesort; /* sort by time vice name */
119 int f_type; /* add type character for non-regular files */
120static int f_whiteout; /* show whiteout entries */
121 int f_lomac; /* show LOMAC attributes */
122#ifdef COLORLS
123 int f_color; /* add type in color for non-regular files */
124
125char *ansi_bgcol; /* ANSI sequence to set background colour */

--- 678 unchanged lines hidden ---