textwrangler does not load my html?

Discussion in 'Mac Apps and Mac App Store' started by junglePriest, Jul 2, 2010.

  1. junglePriest macrumors newbie

    Jul 2, 2010
    Hi all

    just got a new mac and have downloaded textwrangler to use as a replacement for notepad++.

    When I try and run my html code I get an error saying 'shebang' line error.
    for this problem I have two questions.

    How do I set Textwrangler to run or load my pages into a browser?

    Is Ricky Martin responsible for the 'shebang' line error?
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    HTML files cannot be "run" from TextWrangler. You just need to preview them in a browser. The Run is for executable files like Perl, Python, etc. BBEdit, the paid version of TextWrangler, has a preview in BBEdit option that lets you view it from there, but it's not available in TextWrangler.

    Shebangs, are scripts that have a first line of #! that tell it where the binary of the program to run the file is at.
  3. junglePriest thread starter macrumors newbie

    Jul 2, 2010

Share This Page