bug-bash
[Top][All Lists]
Advanced

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

Re: Bash bug --- 1st parameter substitued for /InstallShield/ that is pa


From: Ken Irving
Subject: Re: Bash bug --- 1st parameter substitued for /InstallShield/ that is passed to the main entry pt of program
Date: Mon, 15 Sep 2008 21:03:06 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Sep 15, 2008 at 12:49:04PM -0700, david bone wrote:
> cdbone root 15:08 540 $: bash -version
> GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10) running on an AMD 
> dual core machine
> Copyright (C) 2004 Free Software Foundation, Inc.
> cdbone root 15:23 541 $: 
> 
> The bash problem:
> The parameters passed to the ``main entry'' of a program substitutes
> the first parameter "/*hi*/" which is a c++ type comment as
> /InstallShield/
> The following bash command line demonstrates this runtime behavior :
> 
> cdbone root 15:03 539 $: /yacco2/bin/o2linker_debug  /*hi*/ 
> /yacco2/compiler/grammars/yacco2.fsc /*there*/
>                                                                               
> ^p1-^ ^--------------p2-------------------------------------^ ^--p3---^ // 
> not outputted: just annotated comment for your eyes
> O2linker version:1.1
> Load linker's keywords 
> Get command line and parse it 
> p:1 /InstallShield/
> p:2 /yacco2/compiler/grammars/yacco2.fsc
> p:3 /*there*/
> Error in file#: 1 "linkercmd.tmp"
> /InstallShield/ /yacco2/compiler/grammars/yacco2.fsc /*there*/ 
...

The argument /*hi*/ looks like a glob pattern.  Do you have a 
directory named InstallShield in the root directory?

Ken

-- 
Ken Irving, fnkci@uaf.edu, 907-474-6152
Water and Environmental Research Center
Institute of Northern Engineering
University of Alaska, Fairbanks




reply via email to

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