Page MenuHomeFreeBSD

Document wildcards and ampersands.
ClosedPublic

Authored by trasz on Nov 20 2014, 7:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 12:09 PM
Unknown Object (File)
Oct 27 2024, 4:06 AM
Unknown Object (File)
Oct 27 2024, 4:06 AM
Unknown Object (File)
Oct 27 2024, 4:06 AM
Unknown Object (File)
Oct 27 2024, 4:06 AM
Unknown Object (File)
Oct 27 2024, 4:06 AM
Unknown Object (File)
Oct 27 2024, 3:59 AM
Unknown Object (File)
Sep 30 2024, 7:17 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

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

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.

164–174

s/pass/pass a/

168

Can be more declarative with rearrangement:

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

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

169

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

176

s/with/with a/

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

usr.sbin/autofs/auto_master.5
168

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).