View Single Post
  #4   (View Single Post)  
Old 24th December 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,547

missing the darn quotes is the worlds most common goof up :-(, my shell often shouts at me as well lol. On shell script, you basically put a '#!/bin/sh' on the first line of the file, then write in commands as if each line of text was a command line in your shell. Then save it, set the file executable with chmod, so you can run it like a program (e.g. '$ ~/')
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote