Re: bash function/alias question
From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 06/27/05
- Next message: Jonathan Bartlett: "Re: Database applications in Linux"
- Previous message: Kasper Dupont: "Re: Linear framebuffer documentation"
- In reply to: Eric Taylor: "Re: bash function/alias question"
- Next in thread: Kasper Dupont: "Re: bash function/alias question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Jun 2005 16:24:15 -0400
On Mon, 27 Jun 2005 12:17:54 -0700, Eric Taylor
<et1@rocketship1.com> wrote:
> I'm confused, I define all the functions and the aliases in
> the script file. I am not trying to change the parent, I just
> showed that when sourced, it works, so there are no
> syntax errors. When run as a separate process, it fails,
> even though everything is defined in the spawned process.
>
When you execute a script as a separate process, the functions and
aliases defined in the script are part of that process.
-- Will slrn ever come into this century and stop turning all punctuation into question marks?
- Next message: Jonathan Bartlett: "Re: Database applications in Linux"
- Previous message: Kasper Dupont: "Re: Linear framebuffer documentation"
- In reply to: Eric Taylor: "Re: bash function/alias question"
- Next in thread: Kasper Dupont: "Re: bash function/alias question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|