[Info-vax] SEARCH ''
hb
end.of at inter.net
Tue Jan 18 12:26:06 EST 2022
On 1/18/22 16:52, Stephen Hoffman wrote:
> $ search x.com "'" + "'"
SEARCH (or DCL - which seems more likely) uses "+" as a list separator,
so the above command is the same as
search x.com "'" , "'"
That is, it finds single quotes.
> grep or find or other tools will work here too, when those are installed
> and available.
>
> DCL doesn't have an equivalent to the backslash
> escape-the-next-character syntax present in some other contexts.
>
Using grep on *nix for this search is straight forward: grep "''" x.com
On VMS it's not that obvious: grep "[']\{2\}" x.com
but there may be an easier way to do that, which I missed.
More information about the Info-vax
mailing list