Re: [Help-bash] How to print a bash variable in the most succinct way?
From:
Greg Wooledge
Subject:
Re: [Help-bash] How to print a bash variable in the most succinct way?
Date:
Wed, 10 Aug 2016 08:40:24 -0400
User-agent:
Mutt/1.4.2.3i
On Wed, Aug 10, 2016 at 05:47:03AM -0500, Peng Yu wrote:
> I need the most human readable repesentation. The one returned by declare
> has redundancy in it. E.g., [1]= is not really necessary.
Stop complaining that autogenerated code is less elegant than
human-written code. Write the code yourself if you don't like what a
computer wrote for you.