🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sequent
Article #470

Re: Korn Tilde expansion

#470
From: Stephen Carter
Date: Wed, 06 Feb 1991 08:14
31 lines
1385 bytes
From article <1991Feb5.100540@bachus.enet.dec.com>, by leclercq@bachus.enet.dec.com (Philippe Leclercq):
> 
> In article <4401@syma.sussex.ac.uk>, stevedc@syma.sussex.ac.uk (Stephen Carter)
> writes:
> |> 
> |> Sequent Dynix - Korn Shell tilde (~) expansion
> |> ----------------------------------------------
> |> 
> 
> We have the same behavior on ULTRIX.
> Substitute your last command by :
> 
> eval "mv $from $to"
> 
> It should work.
> 
> -Philippe Leclercq


My thanks to Philippe and several others who responded.  The resolution
I *know* works on my machine is:

	read field
	eval newfield=$field
	dosomethingwith $newfield

Stephen Carter, Systems Manager, The Administration,
The University of Sussex, Falmer, Brighton BN1 9RH, UK
Tel: +44 273 678203  Fax: +44 273 678335     JANET: stevedc@uk.ac.sussex.syma
EARN/BITNET  : stevedc@syma.sussex.ac.uk      UUCP: stevedc@syma.uucp
ARPA/INTERNET: stevedc%syma.sussex.ac.uk@nsfnet-relay.ac.uk 
Technical Details
Message-ID: <4414@syma.sussex.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!syma!stevedc
References: <1991Feb5.100540@bachus.enet.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!syma!stevedc
From: stevedc@syma.sussex.ac.uk (Stephen Carter)
Newsgroups: comp.sys.sequent
Subject: Re: Korn Tilde expansion
Message-ID: <4414@syma.sussex.ac.uk>
Date: 6 Feb 91 08:14:33 GMT
References: <1991Feb5.100540@bachus.enet.dec.com>
Organization: University of Sussex
Lines: 31