syntax error.. OTL

ar의 이미지

/etc/init.d/autofs 스크립트를 실행하면 아래의 에러가 발생하는데..
암만 봐도 모르겠어요.. 도대체 어떤 구문이 잘못되었다는 것인지요?
환경은 busybox에 bash를 따로 추가하였습니다.

./autofs: command substitution: line 36: syntax error near unexpected token `)'
./autofs: command substitution: line 36: `echo "$map" | cut -c1)'

에러 뜨는 곳은 아래 코드입니다.

    if [ -f /etc/auto.master ]
    then
        cat /etc/auto.master | sed -e '/^#/d' -e '/^$/d'|
        (
            while read dir map options
            do
         <span>   if [ ! -z "$dir" -a ! -z "$map" -a x$(echo "$map" | cut -c1) != 'x-' ] </span>
                then
                    map=$(echo "/etc/$map" | sed -e 's:^/etc//:/:')
                    options=$(echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g')
                    if [ -x $map ]; then
                        echo "  $dir program $map $options"
                    else
                        echo "  $dir file $map $options"
                    fi
                fi
            done
        )
    fi
notepad의 이미지

-c1 과 ) 사이를 한 칸 띄워보시면 어떨까요?

ar의 이미지

수정하여 실행시켜봤지만.. 영향이 없네요 ㅡ.ㅜ