Menu

SyntaxCheckShell

Brad Lanam

Wiki Home
Syntax
Checks

check_shell_extract

Sets variables from a shell script. Only variable assignments are processed. Substitution is done, but environment variables are not recognized.

2026-6-28 Only recognizes ${var}, not $var. Environment variables are not recognized.

check_shell_extract <shell-script>;
Examples
check_shell_extract VERSION;

VERSION:

VERSION=1.2.3
BUILD_NUMBER=1249
DIR=mydir/${VERSION}
Attributes

No attributes may be specified.

Wiki Home
Syntax
Checks


Related

Wiki: Home
Wiki: Syntax
Wiki: SyntaxCheck