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
F156816079: D28198.id82386.diff
Sat, May 16, 3:54 PM
F156783994: D28198.diff
Sat, May 16, 8:42 AM
Unknown Object (File)
Fri, May 15, 9:55 AM
Unknown Object (File)
Thu, May 14, 4:00 PM
Unknown Object (File)
Mon, May 11, 6:32 AM
Unknown Object (File)
Fri, May 8, 11:56 AM
Unknown Object (File)
Wed, May 6, 12:17 AM
Unknown Object (File)
Sun, May 3, 7:01 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