From: DervishD <disposable1@telefonica.net>
To: Lloyd Zusman <ljz@asfast.com>
Cc: zsh-users@sunsite.dk, DervishD <disposable1@telefonica.net>
Subject: Re: Making a script 'sourceable'
Date: Sat, 4 Sep 2004 00:16:20 +0200 [thread overview]
Message-ID: <20040903221620.GA12790@DervishD> (raw)
In-Reply-To: <m31xhj8ey9.fsf@asfast.com>
Hi Lloyd :)
* Lloyd Zusman <ljz@asfast.com> dixit:
> > So I must, by hand, restore any changed variables, options and,
> > what more? Must I restore any other thing? Is there any simple way of
> > making scripts source-safe or source-aware?
> ¡Hola Raúl! Espero que te encuentres muy bien.
Igualmente, Lloyd, cuanto tiempo :))) (list people, sorry for the
spanish bit, just a couple of compliments).
I'm very happy of reading you again :)
> I'm not sure if this handles the case that you're concerned about, but
> when I want to make a script "sourceable" as well as executable, I do
> this:
>
> #!/bin/zsh
> (
> # all script stuff goes here
> )
That's what I've done a couple of times, but I wanted to avoid
the extra fork... For what Bart says in another message in this
thread, it seems the only way of doing it :(
Thanks a lot Lloyd :) BTW, you can practice your spanish whenever
you want, just drop me an email :) Un abrazo.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
next prev parent reply other threads:[~2004-09-03 22:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-03 16:35 DervishD
2004-09-03 17:01 ` Lloyd Zusman
2004-09-03 22:16 ` DervishD [this message]
2004-09-03 17:20 ` Bart Schaefer
2004-09-04 11:07 DervishD
2004-09-04 15:44 ` Bart Schaefer
2004-09-05 13:33 ` DervishD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040903221620.GA12790@DervishD \
--to=disposable1@telefonica.net \
--cc=ljz@asfast.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).