79148414

Date: 2024-11-01 14:50:50
Score: 1
Natty:
Report link
if [[ -z "$last_line" ]]

This -z test will check if the variable is completely empty. It depends how you define empty though.

To do not empty you can just cancel this or add an else.

if [[ ! -z "$last_line" ]]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qa test