:: on Windows rm -f ~/'Downloads/IW4x-release-latest.zip'
zenity --title 'IW4x Updater' --text 'Client and Rawfiles update complete' --icon ~/'.wine/Icons/IW4x-256.png' --timeout '2' --info
:
# End
: as a multi-line comment though, but there's no way I'd try it like that with a rm -rf The OP had the delimiter (COMMENT, in their case) quoted on the initiating line, which would not run the back-ticked expansion:While this is valid to suppress output it is not a good way to do this.
For example, backticks get executed. Consider this:
Code:: << EOF echo hello echo `touch /tmp/l88` EOF
This will execute the touch.
$ : <<'EOF'
echo hello
echo `touch /tmp/l88`
EOF
$ ls -l /tmp/l88
ls: /tmp/l88: No such file or directory
www.geeksforgeeks.org
: is a holdover from Thompson shell where it used to be used for implementing labels for goto(1).This was anti-user behavior. MS-DOS was intentionally real bad at CLI operation. It was pretty much impossible to make an interactive batch script that doesn't bloat up the screen and accepts normal keyboard input.:is a holdover from Thompson shell where it used to be used for implementing labels for goto(1).
It was a command that did nothing but return true and simply discarded its arguments.
goto(1) would scan stdin forward until it found a line that started with its argument followed by a colon. It skips the rest of the line and returns to the shell with its file pointer advanced.
This label/comment trick was also used in MS-DOS.