Hello.I have a problem with indentation in bash scripts with here documents. Normally, I use spaces for indentation, eg.
func()( blabla ) But if need to use here doc document in a function, I am forced to do eather func()( cat <<- EOF blabla EOF ) or func()( cat << EOF blabla EOF )I think, it would be nice, if you implemented Squiggly heredoc, which solves this problem by ignoring both leading spaces and leading tabs. eg.
func()( cat <<~ EOF blabla EOF )Would it be possible please? If I get your approval, I can implement it to bash myself.
Thanks. Best regards Přemysl Šťastný
OpenPGP_0x2FD4F23C65C1A5F0_and_old_rev.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature