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
F132445045: D28198.id82392.diff
Fri, Oct 17, 12:23 AM
F132430984: D28198.id82389.diff
Thu, Oct 16, 9:24 PM
F132428600: D28198.id.diff
Thu, Oct 16, 8:54 PM
F132428373: D28198.id82392.diff
Thu, Oct 16, 8:50 PM
F132428095: D28198.id82389.diff
Thu, Oct 16, 8:46 PM
F132424359: D28198.id82385.diff
Thu, Oct 16, 7:55 PM
F132424357: D28198.id82386.diff
Thu, Oct 16, 7:55 PM
Unknown Object (File)
Wed, Oct 15, 1:00 AM

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 36279
Build 33168: 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