Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2005
    Location
    Haifa
    Posts
    22
    Member #
    10582
    On this page:
    Linux Basics

    You can see the following text at the bottom of the page:
    Code:
    <!-- wget url-to-tar.bz2-file tar -xvvjf tar.bz2-file cd brand-new-folder ./configure --prefix=/usr/local make su #and enter your root pass when asked make install ldconfig #not always needed, but can't hurt exit -->
    If you look at the code, that text is enclosed in comments. Why should it appear displayed in the browser? At least, in Firefox on linux it is displayed. Thanks.

    Dotan Cohen
    http://what-is-what.com

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    It doesn't display in FF on Win2000 ... the -- you have at --prefix=/ will make the comment end

    You can't have -- in comments unless you're ending --> the comment
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    Doesn't show up in FF or IE in XP either.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  5. #4
    Junior Member
    Join Date
    Jul 2005
    Location
    Haifa
    Posts
    22
    Member #
    10582
    It might just be a linux thing, then.

    @karinne55, why would -- end a comment? I thought that any legal characters other than "-->" could be put instide a comment.

  6. #5
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Quote Originally Posted by dotancohen
    It might just be a linux thing, then.

    @karinne55, why would -- end a comment? I thought that any legal characters other than "-->" could be put instide a comment.
    It's not a "linux" thing, it's a "rules" thing ... that's just how it is, you can have - in your comments but not --
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  7. #6
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Those are SGML comments, and SGML says no --, either. http://www.htmlhelp.org/reference/wi...c/comment.html


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:45 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com