From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id EAA25898 for ; Sun, 19 May 1996 04:50:44 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA08306; Sat, 18 May 1996 14:31:45 -0400 (EDT) Resent-Date: Sat, 18 May 1996 14:31:45 -0400 (EDT) From: Zefram Message-Id: <22838.199605181831@stone.dcs.warwick.ac.uk> Subject: Re: tilde compleation To: zapman@cc.gatech.edu (Jason Zapman II) Date: Sat, 18 May 1996 19:31:01 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199605181809.OAA22141@felix.cc.gatech.edu> from "Jason Zapman II" at May 18, 96 02:09:00 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7523.85 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"Ygd_i2.0.i12.BUXdn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1095 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >in zsh 2.5.03 is there a problem with tilde (~) compleation from within >shell scripts? Or am I simply doing something moronic? (entirely >posible.) I think you mean expansion, not completion. > What I am doing is running some shell scripts that other people >have written (mostly for ksh) from my zsh shell. They don't have the line >#!/usr/bin/ksh >in the top, and when they do, things tend to work. If your shell scripts don't have a #! line, and you're executing (as opposed to sourcing) them, they will probably be processed by /bin/sh. If /bin/sh is a Bourne shell, it won't do tilde expansion. -zefram