Create a unique temporary file inside TMPDIR.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_mktemp_file

Purpose

Create a unique temporary file inside TMPDIR.

Output

Prints the new file path.

Returns

Status returned by mktemp.

Usage

  temp_file="$(sgnd_mktemp_file)"