[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request
From: |
Stephane Chazelas |
Subject: |
Re: Feature request |
Date: |
Thu, 14 May 2015 22:06:26 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
2015-05-14 10:21:03 -0400, root@som.pdp10.guru:
> Dear Bash developers,
> In effort to create better commented code, I have run across the following
> missing bit of functionality:
> No block comments
> Which prevents such useful constructs as:
> echo "foo" #! useful comment 1 !# \
> $(somefunction) #! Another comment !# \
> "bar" # standard line comment can go here
>
> yum install \
> package1 #! why it is being installed !# \
> package2 #! why this one is needed !# \
> ...
> packageN # Reason for final package
>
> Thank you for your time and consideration
> -Jeremiah
>
Note that you can do:
packages=(
package1 # why it is being installed
package2 # why this one is needed
...
packageN # Reason for final package
)
yum install "${packages[@]}"
--
Stephane