Today I Learned

2021/09/15

bash shell

That you can, technically, write inline comments in bash. Specifically, you have to put the comments in a subshell:

echo abc `#put your comment here` \
     def `#another chance for a comment` \
     xyz etc

^ from https://stackoverflow.com/a/23872003/6571327