#!/bin/bash

a=1
echo hello
echo 'this is a test'
echo 'this is a test'
echo 'this is a test'

local x=$'\t'   # This line causes the problem

a=1
echo hello
echo 'this is a test'
echo 'this is a test'
echo 'this is a test'