diff options
Diffstat (limited to 'Demo/scripts')
-rwxr-xr-x | Demo/scripts/eqfix.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/fact.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/from.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/ftpstats.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/lpwatch.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/makedir.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/markov.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/mboxconvert.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/mkrcs.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/mpzpi.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/newslist.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/pi.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/pp.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/primes.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/script.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/unbirthday.py | 2 | ||||
-rwxr-xr-x | Demo/scripts/update.py | 2 |
17 files changed, 17 insertions, 17 deletions
diff --git a/Demo/scripts/eqfix.py b/Demo/scripts/eqfix.py index 794221a..583d54e 100755 --- a/Demo/scripts/eqfix.py +++ b/Demo/scripts/eqfix.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Fix Python source files to use the new equality test operator, i.e., # if x = y: ... diff --git a/Demo/scripts/fact.py b/Demo/scripts/fact.py index bf49afc..6cc389e 100755 --- a/Demo/scripts/fact.py +++ b/Demo/scripts/fact.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Factorize numbers. # The algorithm is not efficient, but easy to understand. diff --git a/Demo/scripts/from.py b/Demo/scripts/from.py index 4c01b4c..9f749ae 100755 --- a/Demo/scripts/from.py +++ b/Demo/scripts/from.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Print From and Subject of messages in $MAIL. # Extension to multiple mailboxes and other bells & whistles are left diff --git a/Demo/scripts/ftpstats.py b/Demo/scripts/ftpstats.py index 9c643fe..e931751 100755 --- a/Demo/scripts/ftpstats.py +++ b/Demo/scripts/ftpstats.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Extract statistics from ftp daemon log. diff --git a/Demo/scripts/lpwatch.py b/Demo/scripts/lpwatch.py index af7d914..9f051eb 100755 --- a/Demo/scripts/lpwatch.py +++ b/Demo/scripts/lpwatch.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Watch line printer queue(s). # Intended for BSD 4.3 lpq. diff --git a/Demo/scripts/makedir.py b/Demo/scripts/makedir.py index 563c83f..58efe0e 100755 --- a/Demo/scripts/makedir.py +++ b/Demo/scripts/makedir.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Like mkdir, but also make intermediate directories if necessary. # It is not an error if the given directory already exists (as long diff --git a/Demo/scripts/markov.py b/Demo/scripts/markov.py index 6a6d2b2..6bd62d0 100755 --- a/Demo/scripts/markov.py +++ b/Demo/scripts/markov.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python class Markov: def __init__(self, histsize, choice): diff --git a/Demo/scripts/mboxconvert.py b/Demo/scripts/mboxconvert.py index ecd6965..08e0d0c 100755 --- a/Demo/scripts/mboxconvert.py +++ b/Demo/scripts/mboxconvert.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Convert MH directories (1 message per file) or MMDF mailboxes (4x^A # delimited) to unix mailbox (From ... delimited) on stdout. diff --git a/Demo/scripts/mkrcs.py b/Demo/scripts/mkrcs.py index 2009f8c..36a35ea 100755 --- a/Demo/scripts/mkrcs.py +++ b/Demo/scripts/mkrcs.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # A rather specialized script to make sure that a symbolic link named # RCS exists pointing to a real RCS directory in a parallel tree diff --git a/Demo/scripts/mpzpi.py b/Demo/scripts/mpzpi.py index 776c095..93c74aa 100755 --- a/Demo/scripts/mpzpi.py +++ b/Demo/scripts/mpzpi.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Print digits of pi forever. # # The algorithm, using Python's 'long' integers ("bignums"), works diff --git a/Demo/scripts/newslist.py b/Demo/scripts/newslist.py index 4c5376d..2aa2b18 100755 --- a/Demo/scripts/newslist.py +++ b/Demo/scripts/newslist.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python ####################################################################### # Newslist $Revision$ # diff --git a/Demo/scripts/pi.py b/Demo/scripts/pi.py index 200cb4a..e73e7ec 100755 --- a/Demo/scripts/pi.py +++ b/Demo/scripts/pi.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Print digits of pi forever. # diff --git a/Demo/scripts/pp.py b/Demo/scripts/pp.py index eaf7e41..2496046 100755 --- a/Demo/scripts/pp.py +++ b/Demo/scripts/pp.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Emulate some Perl command line options. # Usage: pp [-a] [-c] [-d] [-e scriptline] [-F fieldsep] [-n] [-p] [file] ... diff --git a/Demo/scripts/primes.py b/Demo/scripts/primes.py index 3e6a646..477c57b 100755 --- a/Demo/scripts/primes.py +++ b/Demo/scripts/primes.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Print prime numbers in a given range diff --git a/Demo/scripts/script.py b/Demo/scripts/script.py index 04e7ecb..cbad367 100755 --- a/Demo/scripts/script.py +++ b/Demo/scripts/script.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # script.py -- Make typescript of terminal session. # Usage: # -a Append to typescript. diff --git a/Demo/scripts/unbirthday.py b/Demo/scripts/unbirthday.py index cb018b6..2c515c4 100755 --- a/Demo/scripts/unbirthday.py +++ b/Demo/scripts/unbirthday.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Calculate your unbirthday count (see Alice in Wonderland). # This is defined as the number of days from your birth until today diff --git a/Demo/scripts/update.py b/Demo/scripts/update.py index e8f6283..2db65dc 100755 --- a/Demo/scripts/update.py +++ b/Demo/scripts/update.py @@ -1,4 +1,4 @@ -#! /usr/local/bin/python +#! /usr/bin/env python # Update a bunch of files according to a script. # The input file contains lines of the form <filename>:<lineno>:<text>, |