[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash
From: |
Gour |
Subject: |
[Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash |
Date: |
Sun, 03 Aug 2008 08:27:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>>> "Karsten" == Karsten Hilbert <address@hidden> writes:
Karsten> This requirement ist not enforceable in any way I can see.
True. I was thinking in the sense of pre-requirement: "In order to use
GNUmed you have to run Posix-compliant shell!"
Karsten> Python isn't really the right tool for the job. Perhaps for
Karsten> some but surely not for all things we use shell scripts for.
I understand that it isn't being higher-level language.
However, rewriting shell scripts in Python would eliminate problem of
'shell-compatibility'.
Karsten> Feel free to point out places in the code where we could do
Karsten> that and I'll happily apply patches. I have tried to use test
Karsten> but will have failed to do so in a few places.
I was asking in #python about the problem and was told that Python can
do it and the following module was recommended to me -
http://docs.python.org/lib/module-subprocess.html to take a look at.
So, if you don't mind I can try write some Python code and replace shell
scripts - good exercise for learning Python ?
Sincerely,
Gour
--
Gour | Zagreb, Croatia | GPG key: C6E7162D
----------------------------------------------------------------
pgpPOifZ_KFNJ.pgp
Description: PGP signature
- Re: [Gnumed-devel] <bug> shell scripts fail when /bin/sh <> /bin/bash, Karsten Hilbert, 2008/08/01
- Re: [Gnumed-devel] <bug> shell scripts fail when /bin/sh <> /bin/bash, Jerzy Luszawski, 2008/08/01
- [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Gour, 2008/08/02
- [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Gour, 2008/08/04
- Re: [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Karsten Hilbert, 2008/08/04
- [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Gour, 2008/08/04
- Re: [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Karsten Hilbert, 2008/08/04
- [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Gour, 2008/08/04
- Re: [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Karsten Hilbert, 2008/08/04
- [Gnumed-devel] Re: <bug> shell scripts fail when /bin/sh <> /bin/bash, Gour, 2008/08/04