Re: Need help with csh syntax
- From: Pavel Roskin <proski gnu org>
- To: Oskar Liljeblad <oskar osk mine nu>
- Cc: mc-devel gnome org
- Subject: Re: Need help with csh syntax
- Date: Fri, 1 Nov 2002 13:26:12 -0500 (EST)
Hello!
> Oops. My mistake. You said:
>
> > > 3. Make mc.sh a wrapper script instead?
> > > Then you could use alias mc=/usr/lib/mc/bin/mc.sh or whatever.
> >
> > I agree. That's what I meant. Perhaps I was unclear.
I was not just unclear, I was wrong. I meant something like this:
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
and mc-wrapper.sh would do everything else. Sourcing the script is
essential. I didn't notice that your example didn't have that little
detail.
Unfortunately, I don't see enough interest to this feature (setting the
last directory on exit). Asking for help resulted in just one reply so
far, and it wasn't exactly helpful. This feature seems to be more a
maintenance burden than a useful asset. I cannot believe that there is
nobody subscribed to this list who doesn't know csh syntax.
After a long consideration I decided to implement wrappers. It adds some
complexity, but makes it possible to write bigger, safer scripts without
stuffing them into the shell memory in the form of an alias or a function.
The new code is now on CVS, the snapshot will be generated shortly.
If there will be problem reports about the new scheme and nobody
volunteers to help, I'll remove -P altogether. If nobody cares enough
about a feature to answer simple questions in the mailing list, then that
feature should not be wasting time of the present and future maintainers.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]