$NetBSD: patch-af,v 1.3 2013/09/09 20:42:00 wiz Exp $ --- examples/gen_example_code.sh.orig 2012-01-27 18:36:39.000000000 +0000 +++ examples/gen_example_code.sh @@ -80,6 +80,6 @@ while IFS=$'\n' read -r line; do || include_block < "${template%.c}.txt" \ #|| echo "WARNING: failed to find text for block $block_name" >&2 ;; - *) echo "$line" ;; + *) printf "%s\n" "$line" ;; esac done < "$template"