sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- To: Mark Andrews <msasgl AT msa-enterprises.com>
- Cc: Tony Smith <tony AT smee.org>, sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]Language wars... (Bash specific)
- Date: 07 Oct 2002 19:11:24 -0400
Bash does another array syntax:
array1=( val1 val2 val3 ... )
On Mon, 2002-10-07 at 10:43, Mark Andrews wrote:
> Hello Tony,
>
> Monday, October 7, 2002, 2:40:53 PM, you wrote:
>
> TS> What if the DETAILS file was not written in bash, but just a
> TS> simple tag=value format text file that could be easily grep'd or
> TS> parsed?
>
> Personally, I feel that the underlying data structure is key in any
> system. If the data structure is well defined and language independant
> then the issue of what language to use becomes less relevant as
> porting becomes a much simpler proposition. I'm all for clear
> seperation of data from code in whatever format. I prefer a colon
> seperator rather than "=" for readability with arrays etc :-
>
> array1:value1:value2:value3
>
> reads better to me than
>
> array1=value1=value2=value3
>
> and allows for things like
>
> array1:SPEEDY:cflags="-O3":cflags=""
>
> where using "=" as a seperator would break things.
>
> The combination
>
> array1=value1:value2:value3
>
> also has merit but makes (bash) coding slightly more complicated.
>
> --
> Best regards,
> Mark mailto:msasgl AT msa-enterprises.com
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
>
--
Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1
Attachment:
signature.asc
Description: This is a digitally signed message part
-
[SM-Sorcery]Language wars...,
Tony Smith, 10/07/2002
-
Re: [SM-Sorcery]Language wars...,
Mark Andrews, 10/07/2002
- Re: [SM-Sorcery]Language wars... (Bash specific), Dufflebunk, 10/07/2002
- Re: [SM-Sorcery]Language wars..., Tony Smith, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Sergey A Lipnevich, 10/07/2002
-
Re: [SM-Sorcery]Language wars...,
Aaron Brice, 10/07/2002
-
Re: [SM-Sorcery]Language wars...,
Jens Laas, 10/08/2002
- Re: [SM-Sorcery]Language wars..., Eric Schabell, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Aaron Brice, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Geoffrey Derber, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Eric Sandall, 10/08/2002
- Re: [SM-Sorcery]Language wars..., Ryan Abrams, 10/08/2002
- Re: [SM-Sorcery]Language wars..., M.L., 10/09/2002
-
Re: [SM-Sorcery]Language wars...,
Eric Sandall, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Geoffrey Derber, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Jens Laas, 10/08/2002
-
Re: [SM-Sorcery]Language wars...,
Aaron Brice, 10/07/2002
-
Re: [SM-Sorcery]Language wars...,
Mark Andrews, 10/07/2002
Archive powered by MHonArc 2.6.24.