chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] a file system using Chicken


From: Peter Bex
Subject: Re: [Chicken-users] a file system using Chicken
Date: Sun, 10 Jun 2007 15:11:16 +0200
User-agent: Mutt/1.4.2.2i

On Sun, Jun 10, 2007 at 03:54:50PM +0300, Dan Muresan wrote:
> > How about $(cat filename) or `cat filename`?
> 
> No. I'm surprised you've never run across the "source" or "." commands, 
> they're fairly common. They execute execute scripts in the current shell 
> (as opposed to spawning a new shell process). They're essential when you 
> want a script to modify the environment of the current shell (e.g. set 
> some shell variables, like the /etc/profile.d/* series). In my case 
> though I was just micro-optimizing.

Never mind, that was just a brainfart.  Looks like POSIX doesn't have a way
to do this?  Weird!

Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpORYyXacnpB.pgp
Description: PGP signature


reply via email to

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