summaryrefslogtreecommitdiffstats
path: root/Demo/scripts
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-11-27 19:52:01 (GMT)
committerGuido van Rossum <guido@python.org>1996-11-27 19:52:01 (GMT)
commitf06ee5fa072931fc807527535c91a46c149a6746 (patch)
treef5be5d5b642b477eaf52e42de2a7792e2ab91cb7 /Demo/scripts
parentcd612d5e5c330bcc77e593cbc406b4214858aa78 (diff)
downloadcpython-f06ee5fa072931fc807527535c91a46c149a6746.zip
cpython-f06ee5fa072931fc807527535c91a46c149a6746.tar.gz
cpython-f06ee5fa072931fc807527535c91a46c149a6746.tar.bz2
/usr/local/bin/python -> /usr/bin/env python
Diffstat (limited to 'Demo/scripts')
-rwxr-xr-xDemo/scripts/eqfix.py2
-rwxr-xr-xDemo/scripts/fact.py2
-rwxr-xr-xDemo/scripts/from.py2
-rwxr-xr-xDemo/scripts/ftpstats.py2
-rwxr-xr-xDemo/scripts/lpwatch.py2
-rwxr-xr-xDemo/scripts/makedir.py2
-rwxr-xr-xDemo/scripts/markov.py2
-rwxr-xr-xDemo/scripts/mboxconvert.py2
-rwxr-xr-xDemo/scripts/mkrcs.py2
-rwxr-xr-xDemo/scripts/mpzpi.py2
-rwxr-xr-xDemo/scripts/newslist.py2
-rwxr-xr-xDemo/scripts/pi.py2
-rwxr-xr-xDemo/scripts/pp.py2
-rwxr-xr-xDemo/scripts/primes.py2
-rwxr-xr-xDemo/scripts/script.py2
-rwxr-xr-xDemo/scripts/unbirthday.py2
-rwxr-xr-xDemo/scripts/update.py2
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>,