#252 THE-3.3RC2 macro with blank at end gives 'command not found'

Next Release

xthe built from THE-3.2RC2 sources gives an error message (for example, with a macro named mast); enter "macro mast ". This message is given, "sh: mast: command not found".

Regina is at REXX-Regina_3.7(MT) 5.00 14 Oct 2012.

This problem appears with ooRexx as well. :-)

I'm willing to test any changes or run any test cases needed.


  • George R. Goffe

    George R. Goffe - 2013-07-02

    Still broken with new the.

  • Mark Hessling

    Mark Hessling - 2013-07-02
    • status: open --> pending-fixed
    • Group: --> Next Release
  • Mark Hessling

    Mark Hessling - 2013-07-02

    Hmm, works for me using your profile. Is mast.the in THE_MACRO_PATH? QUERY MACROPATH shows where THE looks for macros if no path specified.

  • Mark Hessling

    Mark Hessling - 2013-07-02
    • assigned_to: Mark Hessling
  • George R. Goffe

    George R. Goffe - 2013-07-03

    The mast macro is in the macropath. I frequently write singular macros and then plural forms, often by just adding an "s" to the end and wrapping "macro ld 'somestring' macro name" with args at the end. Adding the args at the end causes these to fail presumably because a blank is added after the macro name. I can make ANY macro fail like this by typing it's name then hitting the space bar.

  • Mark Hessling

    Mark Hessling - 2013-07-03

    I'm confused now with the failing behaviour. The initial bug report implied that the problem was with the following at the command prompt:
    [=====> macro mast ]
    where a trailing space after the macro name causes the error. In the above comment there is an implication that the problem is with trailing spaces after arguments which are then processed as a macro name. The example I showed in this comment works for me. Can you please confirm that this example works for you, or explain the bug in more detail.

  • George R. Goffe

    George R. Goffe - 2013-07-03

    When I type in at the cmdline, "macro mast " I get Error 0011: File not found in THE_MACRO_PATH: mast

    Without the blank at the end, the macro succeeds.

    I apologize for the confusion.

  • LesK

    LesK - 2013-07-03

    I get the same error with my RC2 on W7. Iirc, there are several tickets
    concerning handling blanks... common denominator?

  • LesK

    LesK - 2013-07-10

    RC4: If I type 'macro view ', it works, but if I type 'view ' I get
    'Macro not found'.

  • George R. Goffe

    George R. Goffe - 2013-08-31

    Running rc4: This problem seems to still exist. Source is from the repository, version 8.


Log in to post a comment.