[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference star::wizards

Title: "ASK THE WIZARDS"
Moderator:QUARK::LIONEL
Created:Mon Oct 30 1995
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1857
Total number of notes:3728

1651.0. "Open: searching for quote string" by STAR::JKEENAN () Thu Mar 13 1997 16:00

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Wed, 12 Mar 1997 11:30:39 -0500
Received: from vms001 by mail12.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id LAA09740; Wed, 12 Mar 1997 11:27:03 -0500 (EST)
Date: Wed, 12 Mar 1997 11:29:00 -0500
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (12-Mar-1997 1129)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: (null)
Browser Type: Mozilla/2.0 (Win16; I)
Remote Info: <null>
Name: Ronald J. Bergeron
Email Address: [email protected]
CPU Architecture: VAX and Alpha
Version: v 6.2
Questions: 

Using the search dcl command.  How do you search for strings
with quotes (") in them.  For example I can do a file search
on the string "<pub uid="", but when I go to search for the
following "<pub uid="L." it doen't find a match.  Is there
some easier way to search for string with quotes in them?
T.RTitleUserPersonal
Name
DateLines
1651.1Double, Double, Less Toil And TroubleXDELTA::HOFFMANSteve, OpenVMS EngineeringFri Mar 14 1997 16:4513
   Examples of commands using quoted strings that contain quotes include:

	$ SEARCH file.txt "<pub uid="""
	$ SEARCH file.txt "<pub uid=""L."

   In other words, a signle quote character <"> in a quoted string is
   represented by a pair <"">

   Please see the OpenVMS User's Guide (see "Quotation Marks in the index
   of the V6.2 edition) for further information on how to incorporate the
   <"> character into a quoted string -- it is possible that multiple
   characters need be specified, depending on the context.