On Sat, 9 Jan 2016 12:08:25 +0000, Jeremy Nicoll wrote: > >> And, in the "CHANGE string1 string2" command, how can I specify >> a string2 containing an arbitrary mixture of quotation marks, >> apostrophes, and spaces? > >c x'xxxxxxx' x'yyyyyyyyyyy' > PITA, unless it's driven by a macro. And can the 'xxxxxxx' be made case-sensitive or -insensitive at the programmer's discretion?
>It's useful to do that in edit macros etc where one has no idea what the parms >will be. It's also a useful way of passing arbitray arguments between >programs >via a commandline. > Again, practical only from a macro, not from a terminal command line. And it depends on the target program's being able to interpret the hex. For example, I know no way to put hex values in a regular expression. I had a case where I wanted to pass the ISPF startup command a string containing unmatched apostrophes, or parentheses (I forget). I found no way and gave up. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
