I think you discovered a new security feature for masking and substituting words.
It appears the substitution starts at char 1 of each line once you define a variable.
15:23:10 25-MAY-16 SYSTEM@MYDEV SQL >define y=##YYYY##
15:23:29 25-MA##YYYY##-16 S##YYYY##STEM@M##YYYY##DEV SQL >
I think I can have some fun with this..
Hello Development Team,
test this "feature" in the new release SQLcl: Release 184.108.40.206.175.1027 RC
No change in this behavior, still the same results.
When you plan to fix this problem?
The bug is still here even in "no longer EA" release 4.2.0!
It seems now we have to open technical SR to fix the issue.
I test this with the last version I can download:
Oracle SQLDeveloper Command-Line (SQLcl) version: 220.127.116.11.308.0750
And the Bug is fixed.
Very good and thanks to the development!