Examples
Some typical shebang lines:
#!/bin/sh— Execute the file using sh, the Bourne shell, or a compatible shell#!/bin/csh -f— Execute the file using csh, the C shell, or a compatible shell, and suppress the execution of the user’s.cshrcfile on startup#!/usr/bin/perl -T— Execute using Perl with the option for taint checks#!/usr/bin/php— Execute the file using the PHP command line interpreter#!/usr/bin/python -O— Execute using Python with optimizations to code#!/usr/bin/ruby— Execute using Ruby
Shebang lines may include specific options that are passed to the interpreter (see the Perl example above). However, implementations vary in the parsing behavior of options; for portability, only one option should be specified (if any) without any embedded whitespace.
Read more about this topic: Shebang (Unix)
Famous quotes containing the word examples:
“In the examples that I here bring in of what I have [read], heard, done or said, I have refrained from daring to alter even the smallest and most indifferent circumstances. My conscience falsifies not an iota; for my knowledge I cannot answer.”
—Michel de Montaigne (15331592)
“No rules exist, and examples are simply life-savers answering the appeals of rules making vain attempts to exist.”
—André Breton (18961966)
“There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.”
—Bernard Mandeville (16701733)