delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/11/27/01:47:47

Date: Mon, 27 Nov 2000 08:46:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Patch #3 for dtou.c
In-Reply-To: <200011262154.QAA21619@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.1001127084605.15394I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 26 Nov 2000, DJ Delorie wrote:

> I've been using unix now for 15 years, and I've never had to resort to
> the "--" trick.

What do you do if you need to fgrep for a string that begins with a
dash?

I agree that "--" is rarely needed, though; the above example is about
the only case I ever needed it.

- Raw text -


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