[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: dollar handling in here document
From:       Ron Yorston <rmy () pobox ! com>
Date:       2016-04-03 21:42:03
Message-ID: 57018e2b.VXFukO5pp8uBM3DE%rmy () pobox ! com
[Download RAW message or body]

Timo Teras wrote:
>Not sure if this is bug or not. But at least bash works different here:
>
>$ busybox sh a.sh 
>''
>
>$ bash a.sh 
>'$'
>
>$ cat a.sh 
>cat <<EOF
>'$'
>EOF

I reckon it's a bug.  If BusyBox is compiled without bash-compatibility
enabled it produces the same output as bash.

Patch to follow.

Ron
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic