delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/07/09:20:19

Date: Tue, 7 Oct 1997 15:18:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hugh Barrett <realzucchini AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Quotes
In-Reply-To: <3439A959.80F8532E@hotmail.com>
Message-ID: <Pine.SUN.3.91.971007151352.25685T-100000@is>
MIME-Version: 1.0

On Tue, 7 Oct 1997, Hugh Barrett wrote:

> Compiling: c:\hugh's~1\tutori~1\c\firsex.c
> Unmatched quote error
> There were some errors.
> 
> If this is an obvious question, I'm sorry, but I'm dumb ok?

The apostrophe is a quote character (you need it to pass the command-line 
parameters without them being globbed as filename wildcards).  So if you 
need to pass the apostrophe character itself, you need to quote it or 
protect it with a backslash.  Like so:

	gcc c:\hugh"'"s~1\tutori~1\firstex.c

or like this:

	gcc c:\hugh\'s~1\tutori~1\firstex.c

This is all explained in section 16.3 of the DJGPP FAQ list, btw.  The 
latest version of the FAQ is available as v2/faq210b.zip from the same 
place you get DJGPP.

- Raw text -


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