tjoen wrote:
> I have no problems with that line after the prompt too.
> The problem only appears in the configure-script of swig.
> I forgot to mention that I have no ruby installed
> and that I have tried the option --without-ruby
> but with the same result:
>
> checking whether Guile's gh_
Chet Ramey <[EMAIL PROTECTED]> writes:
> Nic James Ferrier wrote:
>> Using bash 2.05, does anyone know of a way to get a trace of what's
>> happening inside a function?
>
> Only by adding `set -x' inside the function body.
Or by upgrading to a shell that is not 6 years old. :-)
Andreas.
--
And
Nic James Ferrier wrote:
> Using bash 2.05, does anyone know of a way to get a trace of what's
> happening inside a function?
Only by adding `set -x' inside the function body.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but to
Nic James Ferrier <[EMAIL PROTECTED]> wrote:
> Using bash 2.05, does anyone know of a way to get a trace of what's
> happening inside a function?
You can add "set -x" at the top of the function body. I don't know of
any way to get a similar effect without editing the script.
paul
[EMAIL PROTECTED] wrote:
> Bash Version: 3.2
> Patch Level: 0
> Release Status: release
>
> Description:
> Tested with 3.1: no problems
> 3.2 has problems with lines like:
> RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG["archdir"] ||
> $archdir') 2>/dev/null`
I can't reprodu
Using bash 2.05, does anyone know of a way to get a trace of what's
happening inside a function?
eg file /root/myscript:
#!/bin/bash
function x
{
LIST=`ls /someplace`
[ "$LIST" == "" ] && exit 0
mv $LIST /tmp
}
x
and then:
bash -x /root/myscript
will only
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba