This is the mail archive of the
mailing list for the Cygwin project.
Re: FYI: character quoting in Win32
- To: earnie_boyd at yahoo dot com
- Subject: Re: FYI: character quoting in Win32
- From: michael dot mauch at gmx dot de (Michael Mauch)
- Date: Wed, 19 Aug 1998 08:46:30 +0200
- Cc: gnu-win32 at cygnus dot com
- References: <email@example.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.
> 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
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.
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".