Files
VSC/Bash/Test/001.sh
T
claudio 368d6fafea Issue
Code backup
2026-05-10 16:59:01 +02:00

10 lines
184 B
Bash

#!/bin/bash
String='pippo' # Zero-length ("null") string variable.
if [ -z "$String" ]
then
echo "\$String is null."
else
echo "\$String is NOT null."
fi # $String is null.