From: michael DOT mauch AT gmx DOT de (Michael Mauch) Subject: Re: FYI: character quoting in Win32 20 Aug 1998 05:15:39 -0700 Message-ID: <199808190646.XAA04271.cygnus.gnu-win32@cygnus.com> References: <19980817143414 DOT 4112 DOT rocketmail AT send1d DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: earnie_boyd AT yahoo DOT com Cc: gnu-win32 AT cygnus DOT com On Mon, 17 Aug 1998 07:34:14 -0700 (PDT), Earnie Boyd wrote: > In order to put this in the archive and to educate the ignorant as I > used to be, the circumflex "^" (SHIFT of 6 on US Keyboard) can be used > to quote any character similar to the backslash "\" in UNIX. > > Example: > > bash$: grep some_variable \| some_other_variable *.c > > would translate to > > DOS$: grep some_variable ^| some_other_variable *.c Hmm, is this a trick of NT or do you run 4dos or some other non-standard command interpreter? grep "some_variable | some_other_variable" *.c works with command.com (from Win95 and IIRC also earlier DOS versions). Note that single quotes don't work, only double quotes. Regards... Michael - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".