.command files

Discussion in 'Mac Help/Tips' started by Choppaface, May 12, 2002.

  1. Choppaface macrumors 65816

    Joined:
    Jan 22, 2002
    Location:
    SFBA
    #1
    I'm trying to make a shell script in bbedit but it refuses to run on double click. I've saved it as a 'simple text file' with/ unix line breaks......do I also have to save it as unicode? also do I need a #! line like in perl?

    thanks
     
  2. Choppaface thread starter macrumors 65816

    Joined:
    Jan 22, 2002
    Location:
    SFBA
    #2
    solution:

    put #! /bin/tcsh at top

    use chmod/super get info to make it executeable
     

Share This Page