[Info-vax] SEARCH ''
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Tue Jan 18 10:52:25 EST 2022
On 2022-01-17 20:52:11 +0000, Phillip Helbig (undress to reply said:
> I had occasion to SEARCH for the string '' in a file.
$
$ type x.com
$ ps = f$getsyi("PAGE_SIZE")
$ write sys$output "Page size: ''ps'"
$ exit
$ @x.com
Page size: 8192
$ search x.com "'" + "'"
$ write sys$output "Page size: ''ps'"
$
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.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list