Date: 07 Mar 2002 13:58:18 -0800 From: "Gary W. Swearingen" <swear@blarg.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/35648: rc.conf; add note about "flags" to both files Message-ID: <zc3czcca6d.czc@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
>Number: 35648 >Category: bin >Synopsis: rc.conf; add note about "flags" to both files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 07 14:00:09 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: The /etc/rc.conf and /etc/default/rc.conf files should have a comment near the top noting that "_flags" may be interpreted as "_options" and that "flags" always need a leading "-". The term "flag" is ambiguous (see sh(1) and csh(1) for examples) as to whether it means, eg, "-o" or just the "o". It is also ambiguous in referring only to the "-o" and not including the "-o' option's arguments (or even to only single-character options), so it should be made clear that _flags is used here for both kinds. ================ >How-To-Repeat: n/a ================ >Fix: Add something like: # # Variable names with "_flags" suffixes may be interpreted as "_options" # and the quoted arguments should always begin with "-". >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zc3czcca6d.czc>