On 20 May 2010 at 3:46, Denys Vlasenko wrote:

From:                   Denys Vlasenko <[email protected]>
To:                     [email protected]
Subject:                Re: Adding bash support to hush: the todo list.
Date sent:              Thu, 20 May 2010 03:46:24 +0200
Copies to:              Rob Landley <[email protected]>

> On Monday 17 May 2010 16:41, Matthew Stoltenberg wrote:
> > > We probably want some kind of config option for the alias, so bash and 
> > > busybox
> > > can easily be installed side by side without interfering with each other.
> > >
> > > Rob
> > 
> > I'm not the best at wording, but see the attached patch.
> 
> I did it a bit differently, akin to CONFIG_FEATURE_SH_IS_FOO options.

In following the thread on bash support in busybox, I've always included the 
full bash on my cd project, since I wasn't clear on a way to check that it 
didn't have any what I guess is bashisms. The script was over 3300 lines 
long, and I was not the original creator of it. I have recently gone thru it, 
and 
reduced it to about 1900 lines by doing a number of things. I just ran 
checkbashisms on it, found some things it didn't like that were easy to fix.
Use of function, and had one set of ((  )) that should have just been a ( ).

There are two other error types that appear many times in the script.
(unsave echo with backslash) 
echo "\n" 

Don't know how the one would do this without the backslash?

('$(<foo)' should be '$(cat foo)')
specialcommand=$(</tmp/mbr)

This one I could change, actually, it was using cat before, but I found 
something that said this was the better way of doing it.

Hope this is to off topic. 

Again, Thanks for the great work on Busybox...



> -- 
> vda
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[email protected]                            
  mailto:[email protected]
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

bo...@home CREDITS
SETI         9692830.314101   |   EINSTEIN     4035609.330851
ROSETTA      1955416.079571   |   ABC          1075136.885022

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to