Batch of handbook/basics/chapter.sgml changes from various PRs.

- s/permissions/permission bits/
- s/globing/globbing/
- environment variables is not a "shell function" but a "feature"
- setenv & export are not used to "view" env vars in tcsh & bash,
  but only to "set" them.
- remove punctuation from <title>
- wrap `man' in <command> tags

PR:		docs/38975, docs/38976, docs/39024, docs/39064 and docs/39089
Submitted by:	Marc Fonvieille <marc@blackend.org>
This commit is contained in:
Giorgos Keramidas 2002-06-12 00:39:15 +00:00
parent 9b77fe7ea0
commit 0e9f20c95f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13378

View file

@ -189,7 +189,7 @@
<emphasis>and</emphasis> execute permissions to the directory
containing the file.</para>
<para>There are more permissions, but they are primarily used in
<para>There are more permission bits, but they are primarily used in
special circumstances such as setuid binaries and sticky
directories. If you want more information on file permissions and
how to set them, be sure to look at the &man.chmod.1; man
@ -1069,7 +1069,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
fill in the rest of the filename for you.</para>
<indexterm><primary>environment variables</primary></indexterm>
<para>Another function of the shell is environment variables.
<para>Another feature of the shell is the use of environment variables.
Environment variables are a variable key pair stored in the shell's
environment space. This space can be read by any program invoked by
the shell, and thus contains a lot of program configuration. Here
@ -1151,13 +1151,13 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
</informaltable>
<indexterm><primary>Bourne shells</primary></indexterm>
<para>To view or set an environment variable differs somewhat from
<para>To set an environment variable differs somewhat from
shell to shell. For example, in the C-Style shells such as
<command>tcsh</command> and <command>csh</command>, you would use
<command>setenv</command> to set and view environment variables.
<command>setenv</command> to set environment variables.
Under Bourne shells such as <command>sh</command> and
<command>bash</command>, you would use <command>set</command> and
<command>export</command> to view and set your current environment
<command>bash</command>, you would use
<command>export</command> to set your current environment
variables. For example, to set or modify the
<envar>EDITOR</envar> environment variable, under <command>csh</command> or
<command>tcsh</command> a
@ -1180,7 +1180,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
as special representations of data. The most common one is the
<literal>*</literal> character, which represents any number of
characters in a filename. These special meta-characters can be used
to do file name globing. For example, typing in
to do filename globbing. For example, typing in
<command>echo *</command> is almost the same as typing in
<command>ls</command> because the shell takes all the files that
match <literal>*</literal> and puts them on the command line for
@ -1342,7 +1342,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
</sect1>
<sect1>
<title>For More Information...</title>
<title>For More Information</title>
<sect2 id="basics-man">
<title>Manual Pages</title>
@ -1406,7 +1406,7 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
section of the online manual. For example, there is a
<command>chmod</command> user command and a
<function>chmod()</function> system call. In this case, you can
tell the man command which one you want by specifying the
tell the <command>man</command> command which one you want by specifying the
section:</para>
<screen>&prompt.user; <userinput>man 1 chmod</userinput></screen>