TABLE OF CONTENTS


::pwtk::readFile

SYNOPSIS

proc ::pwtk::readFile {args} {

USAGE

::pwtk::readFile ?-nonewline? filename

DESCRIPTION

Read a file and return its content. If the -nonewline switch is specified then the last character of the file is discarded if it is a newline.

RETURN VALUE

The content of the file.

SOURCE

    uplevel ::tclu::readFile $args
}