Monday | 13 October, 2008
Computerworld
The A-Z of Programming Languages: BASH/Bourne-Again Shell
When the Bourne Shell found its identity
Naomi Hamilton 30/05/2008 09:43:51

Chet Ramey, primary maintainer of Bash, atop the dome of Santa Maria del Fiore in Florence
Chet Ramey, primary maintainer of Bash, atop the dome of Santa Maria del Fiore in Florence
Computerworld Buyer's Guide - Vendors Matched to this Article
Related Features
  • +

    The Anytime, Anyplace Enterprise 03/06/2008 14:06:24

    The interactive enterprise must be capable of providing access to its information and processes anytime and from anyplace over any network-connected device. Some CIOs are taking a phased approach in getting there.
    Customers, employees and partners expect to interact with their suppliers, employers and advisers when, where and how they like. Enterprise CIOs can deliver enhanced business performance and innovation for their firms by combining existing IT assets in conjunction with emerging consumer technologies.
  • +

    SharePoint '07: Perfect Union of Info Management, IT? 03/06/2008 09:18:06

    For companies that choose SharePoint, it makes sense for there to be a joined-up IT, knowledge and information function
    Microsoft Office SharePoint Server (MOSS 2007) merges workflow, search and collaboration into one enterprise-wide information management platform. In this environment, does it make sense for the professions of records management (RM) knowledge management (KM) and information management (IM) to continue to work independently in their niche roles?
  • +

    Understanding the Project Management Office 05/02/2008 12:59:53

    Excellence in project management is essential, but PMOs can do as much harm as good. Here we examine the fundamentals and scope a proper role for a PMO
    Excellence in project management is essential, but PMOs can do as much harm as good. Here we examine the fundamentals and scope a proper role for a PMO
  • +

    Forget Everything You've Learnt About Project Delivery, Part 1: Scope Management 05/02/2008 12:58:54

    Acknowledging the two types of scope can force some of the problems with scope management to disappear
    Acknowledging the two types of scope can force some of the problems with scope management to disappear
  • +

    A Tale of Two Call Centres 04/02/2008 13:18:44

    Happy belated 2008.
    Happy belated 2008. Holidays are over. School's back. Traffic sucks. The weeks off were not only welcome but refreshing, although I must admit there was the odd day or two that saw my "peace on earth, good will to men" disposition - well, shall we say - lacking
Additional Resources
Executive Guides
Whitepapers
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.

Newsletter Subscription

Sign up for our Computerworld newsletters!
Computerworld's twice-daily news service keeps you in touch with the latest, most important headlines from Australia and around the world.
Keep up with the latest virtualisation technologies, products, news and features.
RSS Feeds

Computerworld is undertaking a series of investigations into the most widely-used programming languages. Previously we spoke to Alfred v. Aho of AWK fame, and in this article we chat to Chet Ramey about his experience maintaining Bash.

Bash, or the Bourne-Again Shell is a Unix shell created in 1987 by Brian Fox. According to Wikipedia, the name is a pun on an earlier Unix shell by Stephen Bourne (called the Bourne shell), which was distributed with Version 7 Unix in 1978.

In 1990, Chet Ramey, Manager of the Network Engineering and Security Group in Technology Infrastructure Services at Case Western Reserve University, became the primary maintainer of the language.

Computerworld tracked down Ramey to find out more.

How did you first become involved with Bash?

In 1989 or so, I was doing network services and server support for [Case Western Reserve] University (CWRU), and was not satisfied with the shells I had available for that work. I wasn't really interested in using sh for programming and csh/tcsh for interactive use, so I began looking around for a version of sh with the interactive features I wanted (job control, line editing, command history, filename completion, and so on.)

I found a couple of versions of the SVR2 shell where those features had been added (credit to Doug Gwyn, Ron Natalie, and Arnold Robbins, who had done the work). These were available to CWRU because we were Unix source licensees, but I had trouble with them and couldn't extend them the way I wanted. Ken Almquist was writing ASH, but that had not been released, and there was a clone of the 7th edition shell, which eventually became PDksh, but that did not have the features I wanted either.

Brian Fox had begun writing BASH and readline (which was not, at that time, a separate library) the year before, when he was an employee of the FSF. The story, as I recall it, was that a volunteer had come forward and offered to write a Bourne Shell clone. After some time, he had produced nothing, so Richard Stallman directed Brian to write a shell. Stallman said it should take only a couple of months.

I started looking again, and ended up finding a very early version of Bash. I forget where I got it, but it was after Brian had sent a copy to Paul Placeway from Ohio State -- Paul had been the tcsh maintainer for many years, and Brian asked him to help with the line editing and redisplay code. I took that version, made job control work and fixed a number of other bugs, and sent my changes to Brian. He was impressed enough to begin working with me, and we went on from there.

I fixed many of the bugs people reported in the first public versions of BASH and fed those fixes back to Brian. We began working together as more or less co-maintainers, and when Brian moved on to other things, I still needed to support Bash for my local users, so I produced several local releases. Brian and I eventually merged those versions together, and when he moved away from Bash development, I took over.

Computerworld Buyer's Guide - Vendors Matched to this Article
Market Place

Computerworld Member Login


 

Smart SOA World Tour

Discover how SOA can create smarter outcomes for your business.

Attend and learn:

  • How SOA is helping leading companies to become more agile
  • Where you should be applying SOA processes in your company
  • The top SOA implementation mistakes to avoid

Click here for more information.
Whitepaper

Dude! You Say I Need an Application-Layer Firewall?!

Proxy firewall technologies have proven time and again to be more secure than “stateful” firewalls. They will also prove to be more secure than “deep inspection” firewalls. High-performance proxy firewalls are available today which are easily capable of handling gigabit-level traffic. Discover more by reading on.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links