bug-bash
[Top][All Lists]
Advanced

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

Re: json + bash


From: Greg Wooledge
Subject: Re: json + bash
Date: Fri, 28 Nov 2014 08:02:01 -0500
User-agent: Mutt/1.4.2.3i

On Fri, Nov 28, 2014 at 10:25:52AM +0600, Sergei Tokaev wrote:
> Hi out there. Will it be good to add json support in bash internally. As
> in variable declarations: decalre "-j" "{"variable":"value"}"

This doesn't seem like an appropriate addition to bash, in my opinion.
Where do you draw the line?  Should bash also parse XML?  Windows .INI
files?  Comma-separated-value text files with quotes around elements
that contain commas?  Apache-style log files with quotes around fields
that contain spaces?

In my opinion, all of those things are inappropriate to add to bash.



reply via email to

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