Is there a way to comment out a multi-line bash command, without commenting out each line with a preceding #
? when a single command is composed of several lines continued via a slash that is.
-
1Is this just to save some typing of #'s, or why? Some text editors / IDE's (Geany) can comment & uncomment lots of lines at once– Xen2050Commented Jan 18, 2018 at 13:32
-
Yes, it's also for that, if your IDE doesn't support it, for sane debug workflows– matanoxCommented Jan 21, 2018 at 19:14
Add a comment
|