From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id DAA12831 for ; Wed, 22 Nov 1995 03:40:00 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA10187; Tue, 21 Nov 1995 11:09:58 -0500 Resent-Date: Tue, 21 Nov 1995 17:09:32 +0100 Old-Return-Path: Message-Id: <9511211609.AA20669@sgi.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: where history expansion fits in Date: Tue, 21 Nov 1995 17:09:32 +0100 From: Peter Stephenson Resent-Message-Id: <"UPV_f1.0.2V2.LdVim"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/624 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Somebody ought to answer the question... *** Doc/zshexpn.1.hist Tue Nov 21 16:59:17 1995 --- Doc/zshexpn.1 Tue Nov 21 17:05:24 1995 *************** *** 12,18 **** \fIarithmetic expansion\fP, \fIbrace expansion\fP, and \fIfilename generation\fP. ! (Where does History expansion fit in here?) .SH FILENAME EXPANSION Each word is checked to see if it begins with an unquoted ~. If it does, then the word up to a / is checked to see if it matches --- 12,21 ---- \fIarithmetic expansion\fP, \fIbrace expansion\fP, and \fIfilename generation\fP. ! \fIHistory expansion\fP is a special case: it is only performed in ! interactive shells and then only if the \fBNO_BANG_HIST\fP option is ! unset; it takes place while the line is being parsed. It is described ! last. .SH FILENAME EXPANSION Each word is checked to see if it begins with an unquoted ~. If it does, then the word up to a / is checked to see if it matches *************** *** 933,936 **** form of command history support is provided by the .B fc ! builtin (see below). --- 936,939 ---- form of command history support is provided by the .B fc ! builtin (see the entry in the \fBzshbuiltins\fP manual). -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.