bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash behavior differs when given "set -v"


From: Chet Ramey
Subject: Re: bash behavior differs when given "set -v"
Date: Thu, 01 May 2003 14:33:22 -0400

> Machine Type: i386-suse-linux
> 
> Bash Version: 2.05
> Patch Level: 0
> Release Status: release
> 
> Description:
>        running a script throws "error" only when "set -v" is given.=20
> there seems to be no error, where bash thinks it is. see "log" below
> 
> 
> Repeat-By:
> 
> get install_flash_player_6_linux.tar.gz from macromedia page (just for=20
> test)
> 
> when running original
> root# ./flashplayer-installer
> , there are some msgs caused by missing dirs on my suse8.0, -ok, bad=20
> script- but not the message about missing close-bracket, which you=20
> see down here before the "***************".
> 
> when running same script with
> set -v
> as first non-comment line, i get this printout (few more leading lines=20
> for context...):

I looked at the script, and noticed that the line where the error occurs is
longer than the screen width.  I suspect that whatever editor you used when
you inserted the `set -x' inserted a newline where that line wrapped.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]