Page MenuHomeFreeBSD

service.8: Use entire section of literally displayed text
ClosedPublic

Authored by debdrup on Jan 16 2021, 9:22 PM.
Tags
None
Referenced Files
F157242742: D28198.id82389.diff
Tue, May 19, 3:27 PM
F157242289: D28198.id82389.diff
Tue, May 19, 3:21 PM
Unknown Object (File)
Tue, May 19, 8:20 AM
Unknown Object (File)
Tue, May 19, 8:15 AM
Unknown Object (File)
Tue, May 19, 1:26 AM
Unknown Object (File)
Mon, May 18, 9:32 PM
Unknown Object (File)
Mon, May 18, 9:27 PM
Unknown Object (File)
Mon, May 18, 3:35 PM

Details

Summary

.Dl indents literal display text for one line, but .Bd can do it for a
whole subsection.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36282
Build 33171: arc lint + arc unit

Event Timeline

This comment was removed by debdrup.
.Bd -literal -offset indent
complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e
		 'n/*/(start stop reload restart \e
		 status rcvar onestart onestop)/'
.Ed

you might be looking for this.

Address feedback by 0mp

I'm not sure I understand why yours works, since I was using tabs too.
I won't look a gift-horse in the mouth, though. :)

Address feedback by 0mp

I'm not sure I understand why yours works, since I was using tabs too.
I won't look a gift-horse in the mouth, though. :)

That could be because of the \e used to escape \. No idea.

This revision is now accepted and ready to land.Jan 16 2021, 10:08 PM