Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 09:53:22 +0200 (CEST)
From:      Marc Fonvieille <marc@blackend.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/39089: Confusing part about setting/viewing environment vars in section 3.7 of the Handbook
Message-ID:  <200206100753.g5A7rM4H059849@abigail.blackend.org>

next in thread | raw e-mail | index | archive | help

>Number:         39089
>Category:       docs
>Synopsis:       Confusing part about setting/viewing environment vars in section 3.7 of the Handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 10 01:00:07 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Marc Fonvieille
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD abigail.blackend.org 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #5: Sun May 12 00:30:43 CEST 2002 marc@abigail.blackend.org:/usr/src/sys/compile/ABIGAIL i386


	
>Description:
Confusing part about setting/viewing environment vars in section 3.7 of
the Handbook. Telling that you can use setenv or export to view
variables is quite confusing for the *newbie* (the use of echo $VARNAME
is described below that part in that section).
Read the patch below and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html
for more details.
	
>How-To-Repeat:
	
>Fix:
Apply the patch to handbook/basics/chapter.sgml
	

--- chapter.sgml.diff begins here ---
--- chapter.sgml.org	Mon Jun 10 09:35:06 2002
+++ chapter.sgml	Mon Jun 10 09:44:51 2002
@@ -1150,13 +1150,13 @@
     </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
--- chapter.sgml.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206100753.g5A7rM4H059849>