Mailinglist Archive: opensuse (3261 mails)

< Previous Next >
is # or ! a comment?
  • From: James McCreery <James.McCreery@xxxxxxxxxx>
  • Date: Tue, 3 Apr 2001 11:25:15 +0100
  • Message-id: <F90CE6D88DFAD411A7DD009027465ECE16FD18@xxxxxxxxxxxxxxxxxx>
As I understood things, lines in a script that begin with a "#"
character are ignored and can be used for comments. I'm confused though
because I see other scripts that seem to use the "!" character to
comment-out lines and use the "#" character to begin lines containing
conditional syntax (if, endif, else etc). What's going on?


james mccreery
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify

Whilst every endeavour is taken to ensure that e-mails are free from
viruses, no liability can be accepted and the recipient is requested
to use their own virus checking software.

< Previous Next >