Bug 3721 - eval error in for loop
Summary: eval error in for loop
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.18.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 09:28 UTC by richard.genoud
Modified: 2011-05-14 09:35 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richard.genoud 2011-05-13 09:28:36 UTC
this behaviour wax not present in 1.15.3 :

> a=1; b=0; for i in 1 ; do eval b=$a ; echo $b ; done
sh: can't execute 'b=1': No such file or directory
0

a=1; b=0; for i in 1 ; do ; eval b=$a ; echo $b ; done
1