Page MenuHomeFreeBSD

Document wildcards and ampersands.
ClosedPublic

Authored by trasz on Nov 20 2014, 7:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 8 2023, 2:11 AM
Unknown Object (File)
Nov 5 2023, 8:14 PM
Unknown Object (File)
Oct 27 2023, 1:20 PM
Unknown Object (File)
Oct 26 2023, 2:41 AM
Unknown Object (File)
Oct 25 2023, 5:34 PM
Unknown Object (File)
Oct 25 2023, 3:01 AM
Unknown Object (File)
Oct 24 2023, 5:33 PM
Unknown Object (File)
Oct 24 2023, 2:37 AM
Subscribers

Details

Summary

Document use of wildcards (*) and ampersands (&) in autofs map files.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

trasz retitled this revision from to Document wildcards and ampersands..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)
wblock added inline comments.
usr.sbin/autofs/auto_master.5
129 ↗(On Diff #2471)

Some concerns on wording, passive voice, the semicolon, and a contraction. Maybe:

A wildcard
.Pq Ql *
can be used for the key.
It matches every directory that does not match other keys.

167 ↗(On Diff #2471)

Can be more declarative with rearrangement:

Ampersands
.Pq .Ql &
in the
.Ar location
field are replaced with key.

("the key"? I'm not sure.)

168 ↗(On Diff #2471)

Repetitive on "this", but the second one can be removed.

173 ↗(On Diff #2471)

s/pass/pass a/

175 ↗(On Diff #2471)

s/with/with a/

One more comment (sorry), but that's all.

usr.sbin/autofs/auto_master.5
168 ↗(On Diff #2477)

This still bothers me. An unsophisticated reader might think "key" is a literal value. Maybe

are replaced with the value of
.Ar key .

Quote the key, and fix syntax used with ampersand, so it renders properly.

This revision is now accepted and ready to land.Nov 21 2014, 3:12 PM
trasz updated this revision to Diff 2490.

Closed by commit rS274796 (authored by @trasz).