On Tue, Jul 10, 2001 at 03:57:32PM +0200, Foley, Brian (Galway) wrote:
> %!PS
> /f
> (~/i_could_have_deleted_all_your_files) (w) file
> def
>> f (You've been PostScripted!) writestring
> f closefile
ok, i forgot to close the file, but you forgot to exit the interpreter!
:) one thing i was trying to do was to get the home environment var
and use it. so i wanted to do something like this:
(HOME) getenv {
(HOME) getenv \home exch def
\home + (/i_could_have_deleted_all_your_files) (w) files \out exch def
} {
(/i_could_have_deleted_all_your_files) (w) files \out exch def
} ifelse
obviously this fails since + doesn't combine strings. how do you combine
two strings to make one? something like
(fu) (bar) concat
kevin
--
kevin at suberic.net "linux is a cancer" --steve ballmer
fork()'ed on 37058400 "released 25 august 1991, linux is a virgo" --me
meatspace place: home linux, not just a star-sign:
http://suberic.net/~kevinhttp://www.linux.com/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!