On 11 Jul 2011 at 8:47, Laurent Bercot wrote: Date sent: Mon, 11 Jul 2011 08:47:10 +0200 From: Laurent Bercot <[email protected]> To: [email protected] Subject: Re: No brace expansion for ash?
> >> Bashisms are arguably Linux-specific extensions to Single Unix, don't > >> you think ? ;) > > no, not even close. i dont know why people think "bash == Linux", but > > it doesnt. it is actively used on many many more systems than just > > Linux, and i guess i need to point out the fact that bash is far older > > than Linux. > > Okay, then replace "Linux-specific" with "GNU-specific"; as far as I know, > GNU is still not Unix, *especially in embedded environments that BusyBox > is targetting*, and bash is still not the reference sh implementation. > But you have a point. > > -- > Laurent As an user, I've got concerns with how scripts work in shells. I've used checkbashism to try and elimanate them, but don't know if it finds all of them. I've even run into an issue where bash worked with a for loop, but after upgrading to a newer version it no longer worked. I've got a project that I took over way back in 2004, and it used busybox for most things, but did included the full bash to run scripts? It might work with a busybox shell, but going thru a 2000+ line script to check for any issues has prompted me to just leave the 877480 byte bash as part of the iso image. Is there a program that can fully check scripts for bashisms or other problems. Thanks for the great work on the busybox project... > _______________________________________________ > 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 G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +----------------------------------------------------------+ 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) BOINC@HOME CREDITS SETI 10984133.148723 | EINSTEIN 6161606.870851 ROSETTA 3358525.001787 | ABC 6810712.402492 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
