[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Remove an empty (null) element in an indexed array
From: |
Chris F.A. Johnson |
Subject: |
Re: [Help-bash] Remove an empty (null) element in an indexed array |
Date: |
Fri, 3 May 2013 16:45:55 -0400 (EDT) |
User-agent: |
Alpine 2.00 (LMD 1167 2008-08-23) |
On Wed, 24 Apr 2013, Jerry wrote:
...
I am trying to find a relatively simple method for compacting the array
so that it removes all empty elements. Is that possible? Does Bash have
a built in method for accomplishing that?
FOO=( "address@hidden" )
--
Chris F.A. Johnson, <http://cfajohnson.com/>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-bash] Remove an empty (null) element in an indexed array,
Chris F.A. Johnson <=