[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Re: #!/bin/bash in TeXmacs
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] Re: #!/bin/bash in TeXmacs |
Date: |
Fri, 11 Nov 2005 10:55:39 +0100 |
User-agent: |
Mutt/1.5.9i |
On Thu, Nov 10, 2005 at 02:24:42PM +0600, Andrey G. Grozin wrote:
> On Thu, 10 Nov 2005, Ralf Treinen wrote:
> >In case you are talkig about maxima_detect : "type -p" is a bashism.
> Earlier versions of this script used "which". It was changed to "type -p"
> because some systems don't have "which" (cygwin?).
I guess that it would be a good idea to include some simple additional
programs with TeXmacs for these kind of things: Andrey also had a problem
to find the real path of an executable file. If someone has time to write
some highly portable C/C++ programs for such things, that would be cool.
Probably one should directly base oneself on low-level primitives,
like stat in src/System/Files/file.cpp (also in the case of real_path).
It is a *SHAME* that Unix does not provide utilities for this by default...
Best wishes, Joris
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Joris van der Hoeven, 2005/11/09
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Geert Hendrickx, 2005/11/09
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Joris van der Hoeven, 2005/11/09
- Re: [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Norbert Nemec, 2005/11/09
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Geert Hendrickx, 2005/11/09
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Geert Hendrickx, 2005/11/09
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Joris van der Hoeven, 2005/11/11
- [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Geert Hendrickx, 2005/11/11
- Re: [Texmacs-dev] Re: #!/bin/bash in TeXmacs, Ralf Treinen, 2005/11/10