[Top][All Lists]

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

Re: [Help-bash] starting a central bash script repository

From: Chris F.A. Johnson
Subject: Re: [Help-bash] starting a central bash script repository
Date: Sat, 6 Apr 2013 18:55:09 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

On Sat, 6 Apr 2013, Peng Yu wrote:

Bash code is not reusable in any sane way.  You can't pass array names
to functions, for example

  One certainly can pass array names to functions. I have a library
  of functions that take array names as arguments:

(this is the #1 problem with writing "libraries" of bash code).

  I don't have any problem writing libraries of bash code; I have
  dozens of them.

   Chris F.A. Johnson, <>
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]