Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Perl replacement challenge
- X-seq: zsh-users 1117
- From: Andrew Main <zefram@xxxxxxxxx>
- To: ramos@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: Perl replacement challenge
- Date: Wed, 29 Oct 1997 17:08:34 +0000 (GMT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199710291619.KAA11548@xxxxxxxxxxxxxxxxxxxxxx> from "ramos@xxxxxxxxxxxxxxxxxxxx" at Oct 29, 97 10:19:56 am
ramos@xxxxxxxxxxxxxxxxxxxx wrote:
> # Use "kshdot some_ksh_script" instead of ". some_ksh_script"
>
> kshdot() { source =(ksh -c ". $* 1>&2; senv") }
How about
function kshdot {
emulate ksh
setopt localoptions
. $@
}
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author