libtool
[Top][All Lists]
Advanced

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

Broken exe wrapper script on OS/X


From: Bruce Korb
Subject: Broken exe wrapper script on OS/X
Date: Mon, 03 Feb 2003 20:26:23 -0800

GNU libtool) 1.4.2 


Here "$col" refers to an ugly path to a shell script wrapper
for the "columns" program.  I modified it slightly by adding
"set -x" just before the command invocation.  As you can see,
there seems to be a problem with embedded white space in command
line arguments.  The argument gets broken in two and my program
complains.  The platform is an OS/X 10.1 (sourceforge compile farm)

======================

+ ls -1 *.[ch] | $col -I4 --spread=1 --line-sep=' XXX'
+ columns -I4 --spread=1 --line-sep= XXX
columns: Command line arguments not allowed
columns - Columnize Input Text - Ver. 1.1
USAGE:  columns [[ .... ]]

$ ls -1 *.[ch] | $col -I4 --spread=1 "--line-sep='  XXX'"
+ columns -I4 --spread=1 --line-sep=' XXX'
columns: Command line arguments not allowed[[ .... ]]

$ ls -1 *.[ch] | $col -I4 --spread=1 "--line-sep='XXX'"
+ columns -I4 --spread=1 --line-sep='XXX'
    autoopts.c    autoopts.h    boolean.c     enumeration.c numeric.c'XXX'
    options.h     pgusage.c     restore.c     save.c        stack.c'XXX'
    streqv.h      streqvcmp.c   usage.c       version.c

$ echo $0
-bash
~/autogen-5.5.2pre8/=Power-Macintosh-Darwin-5.5/pkg/libopts-18.6.9
$ uname -a
Darwin usf-cf-ppc-macosx-1 5.5 Darwin Kernel Version 5.5: Thu May 30 14:51:26 
PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC 
Power Macintosh powerpc

==== BACK ON MY DEVELOPMENT MACHINE: ====

$ libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)




reply via email to

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