Print Variable Information (print)¶

print [variable]

Expand remake variables.

Variable names should not be preceded with a dollar sign.

Note however that a more versatile print command is examine which can print arbitrary string expands which of course includes variables.

If you omit variable, the last expression is displayed again.

Examples:¶

remake<0> print SHELL
Makefile:168 (origin: makefile) SHELL = /bin/sh

/tmp/remake/Makefile:243: Makefile.in
remake<1> print $MAKE   # don't use $
Can't find variable $MAKE

/tmp/remake/Makefile:243: Makefile.in
remake<1> print shell   # note case is significant
Can't find variable shell

See also

expand, info variables <info_variables>.

 
  • ← Examining data (print, target, expand, write)
  • Examining Targets (target) →

remake

Navigation

Contents:

  • Features
  • The Remake Debugger
    • Entering the Debugger
    • Sample Debugger Sessions
    • Debugger Command Syntax
    • Debugger Commands
  • How to install
  • remake manpage

Related Topics

  • Documentation overview
    • The Remake Debugger
      • Debugger Commands
        • Examining data (print, target, expand, write)
          • Previous: Examining data (print, target, expand, write)
          • Next: Examining Targets (target)

Quick search

©2020 Rocky Bernstein. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source