Re: OT: Tool to work with bash script files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2 May 2010 at 13:34, Marcus D. Leech wrote:

Date sent:      	Sun, 02 May 2010 13:34:54 -0400
From:           	"Marcus D. Leech" <mleech@xxxxxxxxxx>
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
Subject:        	Re: OT: Tool to work with bash script files
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>
	<mailto:users-
request@xxxxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
	<mailto:users-
request@xxxxxxxxxxxxxxxxxxxxxxx?subject=subscribe>

> On 05/02/2010 10:41 AM, Michael D. Setzer II wrote:
> > I've been looking for a tool to help working on bash script.
> > I am the maintainer of the g4l project, and its primary script has been about 
> > 3300 lines long. I've been going thru it, and using functions and other 
> > methods, I've gotten it down to about 2066 lines. 
> >
> > I didn't write the original script, and have mostly just been adding new 
> > features and making modifications where necessary, but have just released a 
> > new version, so thought cleaning things up before other things come up.
> >
> > Lots of programs to work with C programs.
> >
> > Thanks.
> >
> >   
> Geany has a coding template for bash scripts, if that's what you're after.
> 
> Apart from "smart editing", what is it that you're looking for?
> 

On occassions, I've made a change that breaks the script, and sometimes is 
finding a matching set of code with the loops, if, cases, etc.

In going from the latest released version of the script in 0.33 of g4l with 
3384 lines and 129593 bytes to 2057 lines and 85597 I have generated 
about 30 versions with minor changes in each to make sure that everything 
still works as before. Most of that is using functions to reduce duplicate code, 
and using variables to reduce some code length. 

Script makes use of dialog for most of the screen output.

Have used gedit for the editing so far, but am downloading geany to see if it 
provides more. Gedit has some features that make it nice to work with other 
languages.

Thanks.


> 
> -- 
> Marcus Leech
> Principal Investigator
> Shirleys Bay Radio Astronomy Consortium
> http://www.sbrac.org
> 
> 
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  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)

BOINC@HOME CREDITS
SETI         9628412.959704   |   EINSTEIN     3959636.800851
ROSETTA      1894882.412180   |   ABC           790361.739164

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux