Header get banner parts

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_header_get_banner_parts

Purpose

Read product and title from a script file.

Arguments

  • $1 — FILE - File path.
  • $2 — _PRODUCT_VAR - Target variable name.
  • $3 — _TITLE_VAR - Target variable name.

Returns

  • 0 if a product/title banner is recognized; 1 otherwise (output variables are cleared).

Usage

  sgnd_header_get_banner_parts "$source_file" product title