delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/01/02:27:14

From: ebachalo AT cygnus DOT com (Eric Bachalo)
Subject: Re: -@file
1 Apr 1998 02:27:14 -0800 :
Message-ID: <3.0.5.32.19980401015746.00965430.cygnus.cygwin32.developers@pop.cygnus.com>
References: <m1d8f2tica DOT fsf AT creche DOT cygnus DOT com>
Mime-Version: 1.0
To: tromey AT cygnus DOT com
Cc: Ian Lance Taylor <ian AT cygnus DOT com>, cygwin32-developers AT cygnus DOT com,
fgeers AT cygnus DOT com

At 06:56 PM 3/31/98 -0700, Tom Tromey wrote:
>However, there is a bug in insert_files().  It doesn't properly
>respect the quoting style defined by build_argv().  For instance, this
>string will be misinterpreted as a request for file insertion (the
>quotes are part of the string):
>
>	" -@file"
>
>I think it's important to respect this quoting style, because it is
>the same quoting style used by spawn_guts().
>
>Tom

I did it on purpose because I thought is might be useful to be able to
stick long quoted strings in a file.  Don't know of any instance one needs
a long or often used quote in a command line though.  

Instead of " -@file" one could type " \-@file" and get the response you
wish.  If being able to stick a file within quotes is not useful and if
people believe insert_file should respect quotes then I (or anyone wishing
to volunteer) will change the logic.


Best Regards,

Eric 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019