Replies: 7 comments
|
Pretty sure this is at least one, and maybe two, bugs in Rev23.3. First, < and > are treated as magic somehow, and it's not possible to make that go away with quoting or ~ (suppress treewalking &c). Second, anything after the %] is eaten. Rev24 doesn't have the undocumented behavior around < and >, and the desired result is achieved there: However, 24 still eats anything after the %], which is at best counterintuitive. Getting a space after the > is left as an exercise for the reader. :) |
|
Oh, and note that there is some interaction between RDY and ECL, which might cause additional unexpectation. It's documented in the commands manual RDY section. |
|
I tried it on R23 and it seemed to work fine. I was just typing rdy commands without ecl. It is a bit curious why the first rdy command adds a space to the prompt, while the ones with translate and > don't add a space. I thought maybe it was because of -expand_prompt, but it isn't: Maybe it only adds the space if there is nothing fancy in the prompt. |
|
Also, understanding quoting and unquoting with Prime command lines is just as confusing as it is on Unix. Normally the [quote and [unquote functions are used to handle this. You can't just add an extra set of quotes whenever you think it might be necessary. For example: Adding a set of extra quotes does not automatically quote everything. |
|
It seems to take both RDY prompt variables and a %[ %] block to trigger it. |
|
Also, |
|
Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Not had much time in the last few weeks, but have been flipping through PDFs to kick the ol' memory.
Going through them, discovered R23 really expanded on the functionality of Ready Brief'.
Now, why won't the following show the '>' (or '!' for error) character?
rdy -rb '%[translate %ui@%sn:%en '%lcase%' '%UCASE%' %]>' -expand_promptI get the pathname change as expected, but just a space afterwards.
What have I missed?
All reactions