Version 5.2.15see example script below, the unassigned $nope is reported to be in line 4 which is obviously wrong. Removing the parentheses around the echo fixes the problem.
#!/bin/bash set -u ( echo x ) | while read f ; do echo Test $f echo Test $f echo Test $f echo Test $f echo Test $f done echo $nope -- -- mit freundlichen Grüßen -- -- Matthias Urlichs
OpenPGP_signature.asc
Description: OpenPGP digital signature