[prev in list] [next in list] [prev in thread] [next in thread]
List: sunhelp
Subject: RE: [SunHELP] alias execution from ksh scripts
From: "DAUBIGNE Sebastien - BOR ( SDaubigne () bordeaux-bersol ! sema ! slb ! com )" <SDaubi
Date: 2002-12-12 10:26:21
[Download RAW message or body]
aliases are reset whenever a new Ksh process is started.
If you want the aliases to be auto-defined in every ksh process, you have to
include it in a script refered in the exported "ENV" variable (this startup
script will be interpreted by every ksh process, before prompting for any
command).
For instance :
in .profile :
ENV=~/.kshrc
export ENV
in ~/.kshrc:
alias toto="....."
---
Sebastien DAUBIGNE
sdaubigne@bordeaux-bersol.sema.slb.com
<mailto:sdaubigne@bordeaux-bersol.sema.slb.com> - (+33)5.57.26.56.36
SchlumbergerSema - SGS/DWH/Pessac
-----Message d'origine-----
De: Markham, Richard [SMTP:RMarkham@hafeleamericas.com]
Date: mercredi 11 dicembre 2002 21:06
@: Sunhelp (sunhelp@sunhelp.org)
Objet: [SunHELP] alias execution from ksh scripts
I'm having an issue with calling alias commands from
within a ksh script. The calling shell is ksh and
basicallhy the error is that it is not found. I have
tried export with no luck. Any ideas?
TIA
_______________________________________________
SunHELP maillist - SunHELP@sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist - SunHELP@sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic