2015-05-14 10:21:03 -0400, [email protected]:
> 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