[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How to print a bash variable in the most succinct way?
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] How to print a bash variable in the most succinct way? |
Date: |
Wed, 17 Aug 2016 10:46:43 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/17/16 9:10 AM, Peng Yu wrote:
> A one-character change to the awk version of the command will work with
> bash-4.4.
>
>
> Could you elaborate what you mean? Which one char change?
Anchor the regexp pattern to the beginning of the line.
> What is the
> difference between bash 4.4 and 4.3 that would help the solution of this
> problem.
Formatting changes in `declare' output. I encourage you to download one
of the bash-4.4 testing releases and look for yourself.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: [Help-bash] How to print a bash variable in the most succinct way?, (continued)
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Chet Ramey, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Peng Yu, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Chris F.A. Johnson, 2016/08/16
- Message not available
- Message not available
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Peng Yu, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Chet Ramey, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Peng Yu, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Chet Ramey, 2016/08/16
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Peng Yu, 2016/08/17
- Re: [Help-bash] How to print a bash variable in the most succinct way?,
Chet Ramey <=
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Eduardo A . Bustamante López, 2016/08/17
- Re: [Help-bash] How to print a bash variable in the most succinct way?, Greg Wooledge, 2016/08/17
Re: [Help-bash] How to print a bash variable in the most succinct way?, David Niklas, 2016/08/26