Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATH editing in a script
- X-seq: zsh-users 1336
- From: Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: PATH editing in a script
- Date: Tue, 24 Feb 1998 14:11:47 +0100 (CST)
Hi,
does anybody know how to edit the PATH environment variable?
Something like 'vared' but in a script (like sed)
Problem:
Having two versions of (say) TeX I would like to replace the PATH to tex
in a user PATH environment string.
Like
s|/usr/local/lib/TeX|/usr/local/teTeX|
It's no problem to edit the PATH e.g. by Perl but these changes have to
persist whence the (Perl/Zsh) script finishes.
Thanks for any hints,
Helmut.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author