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.
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
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?
--