Code Snippets

#!/usr/bin/env bash
set -euo pipefail
shopt -s nullglob

for f in *.log; do
    printf 'processing %s\n' "$f"
done