comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » another IDL oddity
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: another IDL oddity [message #65256 is a reply to message #65174] Wed, 18 February 2009 02:43 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Bringfried Stecklum wrote:

> jschwab@gmail.com wrote:
>>> Any hints?
>>
>> It's just an artifact of the way that quotes are handled.
>>
>> Compare
>> jschwab: jschwab$ echo my_procedure,'Hello.world'
>> my_procedure,Hello.world
>>
>> to
>>
>> jschwab: jschwab$ echo my_procedure,'"'Hello.world'"'
>> my_procedure,"Hello.world"
>>
>> jschwab: jschwab$ echo my_procedure,"'"Hello.world"'"
>> my_procedure,'Hello.world'
>>
>> jschwab: jschwab$ echo "my_procedure,'Hello.world'"
>> my_procedure,'Hello.world'
>>
>>
>> Josiah
>
> Thanks to all of you for solving this issue. I am a little surprised that the
> call from bash (without the double quote) worked all those years on the old
SuSE
> 8.0 system but does not on Ubuntu 8.1 now. I guess handling quotes is
something
> vital in bash but it seems I overlooked a change of this behavior.
>

I'd be very surprised if anything in bash had changed between SuSE 8 and Ubuntu.
Bash is pretty much enshrined in granite these days. There is a difference,
however, between running those commands interactively and putting them in a
script. In a script the quotes would not have been stripped - this may account
for the difference in behaviour.

--
Nigel Wade
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: xyouts: define decimal places of variable
Next Topic: Re: How to simplify or mesh a IDLgrLegend Obj ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:09:08 PDT 2025

Total time taken to generate the page: 1.36100 seconds