Using the Functions for Generating Output
Reporting state on the system requires generating output. Scripts have several built-in functions made available to them to generate output.
Table 1-10 Built-in Functions for Generating Output
Function | Description |
---|---|
|
Dumps the specified argument to the terminal, without expanding embedded newlines. Objects will be displayed in a JSON-like format. Useful for debugging. |
|
Prints the specified object as a string, followed by a newline. If the object does not have a |
|
Like C's |