From owner-svn-doc-all@FreeBSD.ORG Tue Nov 26 16:05:00 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C87B0E44; Tue, 26 Nov 2013 16:05:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B7F142964; Tue, 26 Nov 2013 16:05:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAQG50Bf034553; Tue, 26 Nov 2013 16:05:00 GMT (envelope-from wblock@svn.freebsd.org) Received: (from wblock@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAQG50Gi034551; Tue, 26 Nov 2013 16:05:00 GMT (envelope-from wblock@svn.freebsd.org) Message-Id: <201311261605.rAQG50Gi034551@svn.freebsd.org> From: Warren Block Date: Tue, 26 Nov 2013 16:05:00 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43254 - head/en_US.ISO8859-1/books/handbook/basics X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 16:05:01 -0000 Author: wblock Date: Tue Nov 26 16:05:00 2013 New Revision: 43254 URL: http://svnweb.freebsd.org/changeset/doc/43254 Log: Rewrite the shell completion section, add ID to shell environment variables table and use xref instead of hardcoded table number. Submitted by: Alexander Oblovatniy on -doc Modified: head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/basics/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Tue Nov 26 15:55:45 2013 (r43253) +++ head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Tue Nov 26 16:05:00 2013 (r43254) @@ -3111,22 +3111,21 @@ Swap: 2048M Total, 2048M Free One common shell feature is filename completion. After a user types the first few letters of a command or filename and - presses Tab, the shell automatically completes + presses Tab, the shell completes the rest of the command or filename. Consider two files called - foobar and foo.bar. - To delete foo.bar, type rm - fo[Tab].[Tab]. - - The shell should print out - rm foo[BEEP].bar. - - The [BEEP] is the console bell, which the shell used to - indicate it was unable to complete the filename because there - is more than one match. Both foobar and - foo.bar start with fo. - By typing ., then pressing - Tab again, the shell is able to fill in the - rest of the filename. + foobar and football. + To delete foobar, the user might type rm + foo and press Tab to complete the filename. + + But the shell only shows + rm foo. + It was unable to complete the filename because + both foobar and + football start with foo. + Some shells sound a beep or show all the choices if more than one name matches. + The user must then type more characters to identify the desired filename. Typing a t and pressing + Tab again is enough to let the shell determine which filename is desired and fill in the + rest. environment variables @@ -3134,11 +3133,11 @@ Swap: 2048M Total, 2048M Free variables. Environment variables are a variable/key pair stored in the shell's environment. This environment can be read by any program invoked by the shell, and thus contains a lot of program - configuration. Table 4.3 provides a list of common environment + configuration. provides a list of common environment variables and their meanings. Note that the names of environment variables are always in uppercase. - +
Common Environment Variables