Unset variables

David Rosal david.rosal at upf.edu
Fri Sep 30 10:32:31 PDT 2005


Please excuse me. I had a look at some LFS-6.1 profiles, and I guessed that:

1) There's not any element to unset environment variables.
2) Pipes and redirections are both allowed, replacing the > character by 
  >


~david


David Rosal wrote:
> Hello.
> 
> Is there any element to unset an environment variable in the XML 
> profiles? or should it be done with <execute>:
> 
> <execute command="unset">
>     <param>my_var</param>
> </execute>
> 
> Another question: Are pipes and stream redirections accepted within the 
> <param> elements of <execute>? Take the following as example:
> 
> <execute command="ls">
>     <param>-l | sort >> /tmp/ls.txt</param>
> </execute>
> 
> Thanks in advance for any help.
> 
> 
> ~david



More information about the alfs-discuss mailing list