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
F161429490: D28198.id.diff
Fri, Jul 3, 4:11 PM
Unknown Object (File)
Tue, Jun 23, 3:33 AM
Unknown Object (File)
Mon, Jun 22, 12:01 PM
Unknown Object (File)
Sat, Jun 20, 2:40 AM
Unknown Object (File)
May 25 2026, 5:15 PM
Unknown Object (File)
May 25 2026, 5:08 PM
Unknown Object (File)
May 21 2026, 5:04 AM
Unknown Object (File)
May 19 2026, 3:27 PM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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