View | Details | Raw Unified | Return to bug 28007
Collapse All | Expand All

(-)ls/ls.1 (-2 / +6 lines)
Lines 43-49 Link Here
43
.Nd list directory contents
43
.Nd list directory contents
44
.Sh SYNOPSIS
44
.Sh SYNOPSIS
45
.Nm
45
.Nm
46
.Op Fl ABCFGHLPRTWabcdfgiklnoqrstu1
46
.Op Fl ABCFGHLPRTWabcdfgiklnoqrstu1w
47
.Op Ar
47
.Op Ar
48
.Sh DESCRIPTION
48
.Sh DESCRIPTION
49
For each operand that names a
49
For each operand that names a
Lines 191-196 Link Here
191
one entry per line.
191
one entry per line.
192
This is the default when
192
This is the default when
193
output is not to a terminal.
193
output is not to a terminal.
194
.It Fl w
195
Force raw printing of non-printable characters.  This is the default
196
when output is not to a terminal.
194
.El
197
.El
195
.Pp
198
.Pp
196
The
199
The
Lines 210-216 Link Here
210
.Pp
213
.Pp
211
The
214
The
212
.Fl B ,
215
.Fl B ,
213
.Fl b
216
.Fl b ,
217
.Fl w ,
214
and
218
and
215
.Fl q
219
.Fl q
216
options all override each other; the last one specified determines
220
options all override each other; the last one specified determines
(-)ls/ls.c (-1 / +6 lines)
Lines 163-169 Link Here
163
		f_listdot = 1;
163
		f_listdot = 1;
164
164
165
	fts_options = FTS_PHYSICAL;
165
	fts_options = FTS_PHYSICAL;
166
	while ((ch = getopt(argc, argv, "1ABCFGHLPRTWabcdfgiklnoqrstu")) != -1) {
166
	while ((ch = getopt(argc, argv, "1ABCFGHLPRTWabcdfgiklnoqrstuw")) != -1) {
167
		switch (ch) {
167
		switch (ch) {
168
		/*
168
		/*
169
		 * The -1, -C and -l options all override each other so shell
169
		 * The -1, -C and -l options all override each other so shell
Lines 268-273 Link Here
268
			f_nonprint = 0;
268
			f_nonprint = 0;
269
		        f_octal = 0;
269
		        f_octal = 0;
270
			f_octal_escape = 1;
270
			f_octal_escape = 1;
271
			break;
272
		case 'w':
273
			f_nonprint = 0;
274
			f_octal = 0;
275
			f_octal_escape = 0;
271
			break;
276
			break;
272
		default:
277
		default:
273
		case '?':
278
		case '?':

Return to bug 28007