pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell expansion in strings ?


From: John Darrington
Subject: shell expansion in strings ?
Date: Sat, 11 Feb 2006 10:42:04 +0800
User-agent: Mutt/1.5.4i

I wonder if it would be a good idea to allow strings to be shell
expanded.   For example, it would be convenient to be able to write:

GET FILE='$HOME/foo.sav'.

instead of 

GET FILE='/home/john/foo.sav'.


On the other hand, it makes it slightly incompatible.  Also strings
which represent data should probably not be expanded, which would mean
that somehow the syntax parser would have to be able to distinguish
between the two types of string.

Also, would there be any conflict between :

COMPUTE x = $CASENUM.

and

COMPUTE x = '$CASENUM'.


Just some thoughts ...

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: pgp3hh7vl7NSZ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]