Re: [yocto] Unexpected redirection error in script

2014-08-25 Thread Chris Tapp
On 25 Aug 2014, at 18:07, Maciej Borzecki wrote: > On Monday 25 of August 2014 17:50:00 Chris Tapp wrote: >> I've previously used expressions of the form: >> >> IFS=. read -r $a $b $c $d <<< "$IP" > try: > > echo "$IP" | IFS=. read -r a b c d > >> >> to split an IP address into its octets.

Re: [yocto] Unexpected redirection error in script

2014-08-25 Thread Maciej Borzecki
On Monday 25 of August 2014 17:50:00 Chris Tapp wrote: > I've previously used expressions of the form: > >IFS=. read -r $a $b $c $d <<< "$IP" try: echo "$IP" | IFS=. read -r a b c d > > to split an IP address into its octets. > > However, when I try this for generic_pc under daisy I get an

[yocto] Unexpected redirection error in script

2014-08-25 Thread Chris Tapp
I've previously used expressions of the form: IFS=. read -r $a $b $c $d <<< "$IP" to split an IP address into its octets. However, when I try this for generic_pc under daisy I get an "Unexpected redirection" error. Is this to do with the Busybox version/configuration or something else? --