Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 6, 2008, 06:24 PM   #1
iQueen
macrumors newbie
 
Join Date: Mar 2008
what is the problem her ??? (shebang line)

this is my first Q>>>

and this is my frist problem

what is the problem her ???




Thanks
__________________
Mac 4 ever
iQueen is offline   0 Reply With Quote
Old Mar 6, 2008, 06:31 PM   #2
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
ooooooh >>>>

wher is my picture???
__________________
Mac 4 ever
iQueen is offline   0 Reply With Quote
Old Mar 6, 2008, 06:34 PM   #3
TEG
macrumors 604
 
TEG's Avatar
 
Join Date: Jan 2002
Location: Langley, Washington
Send a message via ICQ to TEG Send a message via AIM to TEG Send a message via MSN to TEG Send a message via Yahoo to TEG Send a message via Skype™ to TEG
Please use actual words, with meaning, and fully explain what your problem is.

TEG
__________________
Apple and Dell are the only ones in this industry making money. They make it by being Wal-Mart. We make it by innovation, - Steve Jobs
The Tegian Zone-Glass Onion Radio
TEG is offline   0 Reply With Quote
Old Mar 6, 2008, 06:40 PM   #4
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
OK >> Iam not good english speker

this is problem window shaw when I click run button in the TextWrangler

programe
__________________
Mac 4 ever
iQueen is offline   0 Reply With Quote
Old Mar 6, 2008, 07:05 PM   #5
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
The shebang is
#! followed by the destination to the program you're running

See wikipedia for further info.
angelwatt is offline   0 Reply With Quote
Old Mar 6, 2008, 07:17 PM   #6
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
I knaw #!====run
but what is the problem in this window

__________________
Mac 4 ever
iQueen is offline   0 Reply With Quote
Old Mar 6, 2008, 07:19 PM   #7
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
Quote:
Originally Posted by iQueen View Post
I knaw #!====run
but what is the problem in this window

Like it says, your shebang isn't valid. Make sure it's the first line and pointing toward an application. If you post the text of the document we might be able to better help.
angelwatt is offline   0 Reply With Quote
Old Mar 10, 2008, 03:09 PM   #8
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
iam sorry for late >>>>this is simple code

save as (.html)




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My first script</title>
</head>
<body bgcolor="#FFFFFF">
<h1>
<script language="Javascript" type="text/javascript">

document.write("Hello, world!")

</script>
</h1>
</body>
</html>
__________________
Mac 4 ever

Last edited by iQueen; Mar 10, 2008 at 03:18 PM.
iQueen is offline   0 Reply With Quote
Old Mar 10, 2008, 06:01 PM   #9
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
What you listed is a web page, which should be run in a browser, not from the "!#" menu in TextWrangler. That !# menu is for executing scripts that are also runnable from Terminal, such as a bash script, or perl, python, ruby, etc., but not for HTML.
angelwatt is offline   0 Reply With Quote
Old Mar 11, 2008, 11:38 AM   #10
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
oops>>>>

that write

thanks
__________________
Mac 4 ever
iQueen is offline   0 Reply With Quote
Old Mar 11, 2008, 11:57 AM   #11
grizzlybrice
macrumors regular
 
Join Date: Mar 2005
Location: Playa Del Rey, CA
http://youtube.com/watch?v=Zcc8dTqflh8

Couldn't help it. Sorry.


gB
__________________
FLICKR!
Pixar is the most technically advanced creative company; Apple is the most creatively advanced technical company." -S.J.
grizzlybrice is offline   0 Reply With Quote
Old Mar 13, 2008, 11:39 AM   #12
notnek
macrumors 6502
 
Join Date: Oct 2007
I think it's appropriate.
notnek is offline   0 Reply With Quote
Old Mar 14, 2008, 06:34 AM   #13
iQueen
Thread Starter
macrumors newbie
 
Join Date: Mar 2008
Quote:
Originally Posted by grizzlybrice View Post
http://youtube.com/watch?v=Zcc8dTqflh8

Couldn't help it. Sorry.


gB


this is the best .

i don't like american music.

thank you american culture.

you would see my music culture .

elissa

__________________
Mac 4 ever

Last edited by iQueen; Mar 14, 2008 at 06:52 AM.
iQueen is offline   0 Reply With Quote
Old Mar 14, 2008, 07:18 AM   #14
redAPPLE
macrumors 68030
 
redAPPLE's Avatar
 
Join Date: May 2002
Location: 2 Much Infinite Loops
Quote:
Originally Posted by iQueen View Post


this is the best .

i don't like american music.

thank you american culture.

you would see my music culture .

elissa

and your point is?
__________________
"Real men FTP/SSH their files around anyway." -- generik
redAPPLE is offline   0 Reply With Quote
Old Mar 14, 2008, 08:02 AM   #15
notnek
macrumors 6502
 
Join Date: Oct 2007
lol.
notnek is offline   0 Reply With Quote
Old Jan 13, 2009, 04:59 AM   #16
hoangluong
macrumors member
 
Join Date: Jan 2009
Location: Sydney, Australia
Quote:
Originally Posted by iQueen View Post
this is my first Q>>>

and this is my frist problem

what is the problem her ???




Thanks
Hi, I've got exactly the same problem as this one. The only difference is that I got it when I tried to run a simple C program within Text Wrangler. I wrote it using Text Wrangler and instead of running GCC in Terminal to execute this C program I'd tried to run it from within Text Wrangler by clicking #! Run File or #! Run in Terminal.

I got this warning message exactly at this point, and I don't know how to resolve this because I'm extremely new to programming and C language is my 1st thing I'm working on. Please give me some help.

Thanks a bunch!
hoangluong is offline   0 Reply With Quote
Old Jan 13, 2009, 06:44 AM   #17
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
Quote:
Originally Posted by hoangluong View Post
Hi, I've got exactly the same problem as this one. The only difference is that I got it when I tried to run a simple C program within Text Wrangler. I wrote it using Text Wrangler and instead of running GCC in Terminal to execute this C program I'd tried to run it from within Text Wrangler by clicking #! Run File or #! Run in Terminal.

I got this warning message exactly at this point, and I don't know how to resolve this because I'm extremely new to programming and C language is my 1st thing I'm working on. Please give me some help.

Thanks a bunch!
Provide what you have at the top of your file, namely the shebang line (the first line). If you don't have a shebang line, that's your problem, and it has been detailed above if you read the thread. Also, have you tried the ideas presented in the thread as this has already been answered?

Also. realize the run option in TextWrangler is for running Unix scripts and interpreted languages like Perl and Python, not C, which has to be compiled before running. I'm not sure if you're trying to run your C program from TextWrangler (which won't work directly) or if you're trying to run a compiler script on your C code file.

Last edited by angelwatt; Jan 13, 2009 at 06:57 AM. Reason: Added clarification on C code
angelwatt is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Problem installing command line tools in 10.9 (error: not available from server) gregor.hoch Mac Programming 5 Mar 17, 2014 07:34 AM
Carrier: AT&T - Upgraded 1 Line to Put 5s on Other Line Activation Issue segrobja iPhone 20 Sep 25, 2013 10:23 PM
Word: line spacing problem from Mac to Windows Apollinariy Mac Applications and Mac App Store 2 Feb 12, 2013 07:33 AM
Problem with using gcc , g++ in command line Giannos Mac Programming 8 Sep 25, 2012 05:36 AM
No Preorder, Long Line? No Problem, Get Iphone Here nostresshere iPhone 0 Sep 19, 2012 03:21 PM

Forum Jump

All times are GMT -5. The time now is 09:55 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC