]> granicus.if.org Git - python/commitdiff
/usr/local/bin/python -> /usr/bin/env python
authorGuido van Rossum <guido@python.org>
Wed, 27 Nov 1996 19:52:01 +0000 (19:52 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 27 Nov 1996 19:52:01 +0000 (19:52 +0000)
141 files changed:
Demo/comparisons/regextest.py
Demo/comparisons/sortingtest.py
Demo/comparisons/systemtest.py
Demo/ibrowse/ib.py
Demo/parser/test_parser.py
Demo/pdist/RCSProxy.py
Demo/pdist/makechangelog.py
Demo/pdist/rcvs.py
Demo/pdist/rrcs.py
Demo/scripts/eqfix.py
Demo/scripts/fact.py
Demo/scripts/from.py
Demo/scripts/ftpstats.py
Demo/scripts/lpwatch.py
Demo/scripts/makedir.py
Demo/scripts/markov.py
Demo/scripts/mboxconvert.py
Demo/scripts/mkrcs.py
Demo/scripts/mpzpi.py
Demo/scripts/newslist.py
Demo/scripts/pi.py
Demo/scripts/pp.py
Demo/scripts/primes.py
Demo/scripts/script.py
Demo/scripts/unbirthday.py
Demo/scripts/update.py
Demo/sgi/al/broadcast.py
Demo/sgi/al/radio.py
Demo/sgi/al/unicast.py
Demo/sgi/audio/play.py
Demo/sgi/audio_stdwin/jukebox.py
Demo/sgi/audio_stdwin/rec.py
Demo/sgi/audio_stdwin/vumeter.py
Demo/sgi/gl/backface.py
Demo/sgi/gl/glinfo.py
Demo/sgi/gl/kites.py
Demo/sgi/gl/kunst.py
Demo/sgi/gl/mclock.py
Demo/sgi/gl/mixing.py
Demo/sgi/gl/nurbs.py
Demo/sgi/gl/zrgb.py
Demo/sgi/video/Dsend.py
Demo/sgi/video/OldVcopy.py
Demo/sgi/video/Vaddcache.py
Demo/sgi/video/Vb.py
Demo/sgi/video/Vcopy.py
Demo/sgi/video/Vedit.py
Demo/sgi/video/Vfix.py
Demo/sgi/video/Vinfo.py
Demo/sgi/video/Vmkjpeg.py
Demo/sgi/video/Vplay.py
Demo/sgi/video/Vrec.py
Demo/sgi/video/Vrecb.py
Demo/sgi/video/Vreceive.py
Demo/sgi/video/Vsend.py
Demo/sgi/video/Vstat.py
Demo/sgi/video/Vtime.py
Demo/sgi/video/Vunjpeg.py
Demo/sgi/video/aplay.py
Demo/sgi/video/video2rgb.py
Demo/sockets/echosvr.py
Demo/sockets/finger.py
Demo/sockets/gopher.py
Demo/sockets/rpython.py
Demo/sockets/rpythond.py
Demo/sockets/telnet.py
Demo/sockets/throughput.py
Demo/sockets/udpecho.py
Demo/stdwin/FormTest.py
Demo/stdwin/RadioGroups.py
Demo/stdwin/TestCSplit.py
Demo/stdwin/TestDirList.py
Demo/stdwin/TestFormSplit.py
Demo/stdwin/TestSched.py
Demo/stdwin/TestTextEdit.py
Demo/stdwin/clock.py
Demo/stdwin/ibrowse/ib.py
Demo/stdwin/jukebox.py
Demo/stdwin/lpwin.py
Demo/stdwin/microedit.py
Demo/stdwin/miniedit.py
Demo/stdwin/python.py
Demo/stdwin/wdiff.py
Demo/tkinter/guido/MimeViewer.py
Demo/tkinter/guido/dialog.py
Demo/tkinter/guido/electrons.py
Demo/tkinter/guido/kill.py
Demo/tkinter/guido/mbox.py
Demo/tkinter/guido/rmt.py
Demo/tkinter/guido/svkill.py
Demo/tkinter/guido/tkman.py
Demo/tkinter/www/www1.py
Demo/tkinter/www/www10.py
Demo/tkinter/www/www11.py
Demo/tkinter/www/www12.py
Demo/tkinter/www/www13.py
Demo/tkinter/www/www2.py
Demo/tkinter/www/www3.py
Demo/tkinter/www/www4.py
Demo/tkinter/www/www5.py
Demo/tkinter/www/www6.py
Demo/tkinter/www/www7.py
Demo/tkinter/www/www8.py
Demo/tkinter/www/www9.py
Lib/cgi.py
Lib/mailbox.py
Lib/mimify.py
Lib/pdb.py
Lib/profile.py
Lib/test/pystone.py
Misc/Fixcprt.py
Misc/faq2html.py
Misc/renumber.py
Tools/freeze/freeze.py
Tools/modulator/Tkextra.py
Tools/modulator/modulator.py
Tools/scripts/byteyears.py
Tools/scripts/checkpyc.py
Tools/scripts/classfix.py
Tools/scripts/copytime.py
Tools/scripts/dutree.py
Tools/scripts/eptags.py
Tools/scripts/findlinksto.py
Tools/scripts/fixcid.py
Tools/scripts/fixheader.py
Tools/scripts/ftpmirror.py
Tools/scripts/h2py.py
Tools/scripts/ifdef.py
Tools/scripts/linktree.py
Tools/scripts/lll.py
Tools/scripts/methfix.py
Tools/scripts/mkreal.py
Tools/scripts/objgraph.py
Tools/scripts/pdeps.py
Tools/scripts/pindent.py
Tools/scripts/ptags.py
Tools/scripts/pystone.py
Tools/scripts/suff.py
Tools/scripts/sum5.py
Tools/scripts/which.py
Tools/scripts/xxci.py

index 35ee9eed77d098bcf133c82fd55a600124f42211..97564b793967e569879afeb075e6d61fa215f818 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # 1)  Regular Expressions Test
 # 
index 1de683bafde4d6758619f53ed7e0473cc2b22920..d6c213ca755fe22064257430779fbdc148c03cd1 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # 2)  Sorting Test
 # 
index 26d9f548db852fa1c8b09d24ea7aa2fb9484077b..f2533b1c0cfb71d34f85aff45dcf5c3a96d63f77 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # 3)  System Test
 # 
index 588270ed490a4cd62f842a357b6e0fe481a1cf8d..ce6e16a2fcacc0c0243dfc859b633cf2e6dac090 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Call ibrowse (the info file browser) under UNIX.
 
index e114d7634fe16ce95ff7e64cab01c8b85b7484f0..f91592f1d66fa013d7f3dff227132b6f9bc81283 100755 (executable)
@@ -1,4 +1,4 @@
-#! /projects/python/Python-1.4b2/python
+#! /usr/bin/env python
 #  (Force the script to use the latest build.)
 #
 #  test_parser.py
index ed55e9ff1c658216ed6da17e96e2b8ca4ec8ed9f..e29090c12a2a21d1123c65f0dac1b636cb109a12 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """RCS Proxy.
 
index ec7f1162ecb8c48ee64d74571c7c5442fe306286..5a0cf7991c5b4de17171c085ed81f2a7f42350b6 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """Turn a pile of RCS log output into ChangeLog file entries.
 
index 7920c18be802fd4516344cfac1f4589236de41bf..9129c28158dad57e20e56156efeb33006e82fa3f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """Remote CVS -- command line interface"""
 
index 4f04198bc383070db0eacd432e4c5812ca09646a..ecb01a29dca9c3bb0a8bc990b7ce35d54e334cd7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 "Remote RCS -- command line interface"
 
index 794221af10a6b547bc96b4b0d0757e70beadaf5b..583d54e0e7e0f0ba7f1b368cb1659426d1f28c20 100755 (executable)
@@ -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: ...
index bf49afcc4402befdfe9572abc9fccb6b961988c4..6cc389ea6ffa4c0597874afee0f90dd75caf1bd4 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Factorize numbers.
 # The algorithm is not efficient, but easy to understand.
index 4c01b4c3a8b6e183f4d4d5fd9c6096f3f9a7bebe..9f749aea60ec855c2e817213bec384bf8b64cc2e 100755 (executable)
@@ -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
index 9c643fe51efa55c9a547c2eaf2b0368d94458f73..e931751f8210157219b6b6ac01106cb504daab93 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Extract statistics from ftp daemon log.
 
index af7d9144b0f5cc64136a5fe1c1f172980e4e7538..9f051ebbf396c31d2f2ac0dbf7ff36fc0d5b3335 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Watch line printer queue(s).
 # Intended for BSD 4.3 lpq.
index 563c83fe4ca965402ed6b2c0ded3c539be696d4f..58efe0e0fb8aa240e469a1106218f2aa48961473 100755 (executable)
@@ -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
index 6a6d2b2c4887e004833bd294fbeaf90ccb3da745..6bd62d0249aaa7611532f1a0c6c1f26af5e4e6bb 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 class Markov:
        def __init__(self, histsize, choice):
index ecd6965de930116ec8ec1f1365b9b57d81ce4e4b..08e0d0cbe5e1784f8f9283dbba09beac4bafe686 100755 (executable)
@@ -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.
index 2009f8c121b730b08f8d0ae2d4f09d2f19fc8971..36a35eace2159044ba5ada7f117a3eb2f84982ef 100755 (executable)
@@ -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
index 776c095e07b03ffd7db62fca62d21bd45e7e0e35..93c74aa398a47084537a51615f27b6aefc76e8fd 100755 (executable)
@@ -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
index 4c5376d48b045bf420c2f43c031eefe8c3bf0e83..2aa2b18bc624f5d5e965d94a3079c3ca15a1e684 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 #######################################################################
 # Newslist  $Revision$
 #
index 200cb4ae8dc8cad590072c890c0c883d314b5ef9..e73e7eccd4bf961b2fecfe2b6a033c38bfbbf717 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Print digits of pi forever.
 #
index eaf7e41537fae75121489b20cc6bbc705b2d1fe5..24960466e475bf3ad53b1311f65e5cd323526229 100755 (executable)
@@ -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] ...
index 3e6a64623f3c24adf4e0f3f36090b113f150fd08..477c57bda9f9c2b7727f9fe5cfbaa4a58c3aa2a0 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Print prime numbers in a given range
 
index 04e7ecb2bf2e5b8f4f411dde00996dbed8730513..cbad3679d167aeb32a2f5e126a5748fc5fe5b728 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 # script.py -- Make typescript of terminal session.
 # Usage:
 #      -a      Append to typescript.
index cb018b654c5b71c0075731ba12ce5b11857ff34f..2c515c4b703ac1b939c5eda35ed8f7a405d875ff 100755 (executable)
@@ -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
index e8f62836762a6903801f5400d911bc795c600e85..2db65dcb29c4600ed003387a3181cab9007d0143 100755 (executable)
@@ -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>,
index ce4875e1fc44d91f7e476a112820eca6ff7e6e07..9d88dac5f60065e891fbcd8a678b94023d1f4038 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # broadcast [port]
 #
index a6f6809187c4be62e49aad92dc379860b67bf2e4..b9d30d2fa88d3db017bb7d3909d1ef9cf7e18272 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # radio [port]
 #
index c9f3111feed445212d7eb6c52011cab553872872..0d537b180f7840b796cd54f94c9a97a105f25294 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # unicast host [port]
 #
index adc76252d809e312174b6f73685ec724e10d3276..68a6a31bbbbffb81e553da0c6455d41f802d7197 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/python
+#! /usr/bin/env python
 
 import sys
 import audio
index b2239929a9e25b8c6a7ca024788ee01441833ebe..2aaaa831d0f2096d9ad12360276b727e9a3c5104 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/python
+#! /usr/bin/env python
 
 # JUKEBOX: browse directories full of sampled sound files.
 #
index 0caba8982614226238d254e4597535ba68dcb30b..76e924e309e02afe71e3735dd166357bfb1b5121 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 import sys
 import audio
index bfee66e86d8cfbfa37e012361f574917f81842d1..e27c53865e03a2395ce5e1389411895775a77684 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/python
+#! /usr/bin/env python
 
 import audio
 import stdwin
index 39929bef0d9ed2ff5d3d22114e989615a1293f6b..41c69d60a207e922942504a419eaa8b9e61816ae 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 #   backface
 #
index 2b6c356e1bac36cec0a365b7910e0665f3eccb3f..dae99f1583463090d7646a335f34bf2a9dc13d18 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Print the values of all values that can be inquired with getgdesc().
 # See man getgdesc() for a description.
index 6e3dea6f49a4e39ed26052e6a11d99db799d8472..be56513f37e1b85f25d9dc5cfced6888574558ec 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # *** This only works correctly on a 24 bit-plane machine. ***
 #
index 2055e52e83953f1db8d75d42874aea61e45ab27e..6d9e04d19e0f681bf625df4e51077ea8243dc49c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 # Simulate the artwork in the hall.
 # Jack Jansen, Feb 91.
 
index ec39de9c8bea22343a6938fbc494809854151997..b1dfa1b0f170dcbbd2a1a5845620d7fc11433b01 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # "M Clock"
 #
index 57dea9c865fa3c018eadcc943cba005d1b34dce1..9a4c9c1fca7fb663fa710442c3de76996eabe1e5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Use Gouraud shading to mix colors.  Requires Z-buffer.
 # It changes the color assignments so fast that you see white.
index af2039bc22ff1b412d4dadce266b1bbc0f5f69a7..c33cb4e964666b5500b48d14b842acfacbed94a9 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Rotate a 3D surface created using NURBS.
 #
index 6561e11b78f2781a3a637015f40e7069915f53a4..2ad68c997b1c1733075728bd95d8778f94b87934 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 #   zrgb  (Requires Z buffer.)
 #
index da94c6f78a58195626b6921c342c0ba0931cd985..7e197f7df95500cd5d40b590f34cd87652b59e69 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Send live video UDP packets.
 # Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width]
index 61461f40a6ead55bb7148efdc2ebd1b68f5c4ed2..697a51a65ee3922b3a6c46ff0bcd58a29c3df32c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Copy a video file, interactively, frame-by-frame.
 
index 6428fcbce3815aacc58a7d955891befcbf70ca2e..4c8fdac1c6e8c188d11d5e3649a11004374da97c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Add a cache to each of the files given as command line arguments
 
index 093bcf7ed0b0a85b7bfc47a62964c5b588a861ce..ec59f22f5649d3142408387cf3d13d42e0ee0797 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Video bag of tricks: record video(+audio) in various formats and modes
 
index 59c06a0f694fc9510db8fb7d952c6736d09eac05..0861457980842f2377a787a79537405f11135eb8 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Universal (non-interactive) CMIF video file copier.
 
index 0174e9f8d8eb3a718db50794a9e77871dd5ee38a..60ef49fabebf0330b7d702b9b00314afc142701a 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Edit CMIF movies interactively -- copy one or more files to an output file
 
index 6b2602399c290bdbda53364809379588ce6e9b92..4870c1b9791d54bd11badf78d25337fa75a7f64c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Copy a video file, fixing the line width to be a multiple of 4
 
index c4177dc8423dbe64ee825124b1b25007fed9d6bd..0d9d29423c768ce15f41a89685ba5ddf844bfda5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Print some info about a CMIF movie file
 
index 4e4c28ebf4ee1a24a8cb3b10649d72fb67ad625e..0c9687a8c5c5fbcd5086d7d6ff905d50f834a65e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Compress an rgb or grey video file to jpeg format
 
index 79b3ad41d384b950686ad8959d187e3d91225423..176c0e5a0c0dcbf5b853fea9316b53f279a249f0 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Play CMIF movie files
 
index 9d90a8073ddff5957f8ac934380bc9ed34f8aaaf..b647bd35dfe2b83c3e8951f84e42eba2c5fcb6b6 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 #! /ufs/guido/bin/sgi/python-405
 
 # Capture a CMIF movie using the Indigo video library and board
index ca81753ae6b8653cce81244fd013cb33c8890246..d65b35f3461c03f6507aec47a57a1e0574eb56e9 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Capture a CMIF movie using the Indigo video library and board in burst mode
 
index f72c6a59206b96eb9586897deebd2a857da10ff7..84aa5a531b3ec299595d802c8ea562019e856e5d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Receive live video UDP packets.
 # Usage: Vreceive [port]
index 223bbf302b710b1d262a5a269228e805094687a4..4c4786140cfb54a3d7dcc1154ab1b26931043ad0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Send live video UDP packets.
 # Usage: Vsend [-b] [-h height] [-p port] [-s size] [-t ttl] [-w width]
index cc0ecfb54a720f7a05ad0796a25acd953b14c39a..a29b1ff04b8d6d2ae3798c4762c5a27fd727a132 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Print the value of all video parameters
 
index be161ccb6737e8f9eb3c4228a665c0c859b46141..34b3b44aa5722d18c65bdb1e45441d208b2a49b5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Manipulate the time base of CMIF movies
 
index 9f21f959ffb66492c54b7ed4c70f3765cba29f5e..3321d23e87c3dc618f2326bea40304a4aa137d0d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Decompress a jpeg or jpeggrey video file to rgb format
 
index 7b1002722c1661ede0a3b12d805b32860104c373..a11f95a5e38178b07398ea23b478ee94e97dc9f5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Play synchronous video and audio.
 # Highly experimental!
index 7070a933422fb1990d522eac0b19b5ef34148ab4..bbfa6b823851d3b9c6fc744a61882c065c74843c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /ufs/guido/bin/sgi/python
+#! /usr/bin/env python
 
 # Convert CMIF movie file(s) to a sequence of rgb images
 
index acf0a393df416dfacfe99e1e1c4463a467653c8e..c1acf6cc6c29a70c00d7300df039e3365281f60a 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Python implementation of an 'echo' tcp server: echo all data it receives.
 #
index 71e307ffa65fb19346ab0e7a1f4441781aba9c78..b941d0e2c4d586864fd8b910fb51f660195dc2ed 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Python interface to the Internet finger daemon.
 #
index f30ab0f1c8eb1930ac3969b6e83e2d1a3c31f0a3..a2ab3a2f6c495230c577a63f77f8a6f279d569a9 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A simple gopher client.
 #
index 9548301893c0f09b76aa22da13c8732afa3259ea..77b2a7a51682d8da571c55222f87f81858f691cd 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Remote python client.
 # Execute Python commands remotely and send output back.
index f67570bc9586404446072cf370e5b29552f433b9..e8cdaa950141a169854f032752211ace3a26340f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Remote python server.
 # Execute Python commands remotely and send output back.
index 3bb36efdc2032de3f9f4ecc3581a65881ada9d68..e83ce55d680f45178568fdae673a6e5267013a14 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Minimal interface to the Internet telnet protocol.
 #
index fd946b44ec0fb7b4ff76afbc63bcd54c14849823..58975bf51d5a21699d23968986d608d09508c6aa 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Test network throughput.
 #
index 8839eb80576979b765a46c50db3c703ed73eaa72..8fce547f56a516cc419c71918b558e82079bec1a 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Client and server for udp (datagram) echo.
 #
index ce62802ebf98457ba39f1165b53016cee6cdcbea..15e3b36b5b2825439f290852389f324409862e53 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 testlabels = 'Name', 'Address', 'City', 'Country', 'Comments'
 
index fcd693f65bae8ae86003f61e23ea8aec5fd04120..93b6a2d091819308eb2c6e1ca181f46e43271f6e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # radiogroups.py
 #
index 9297e46b60b05fb43e5376600560577aa7056d31..720b8c3906bddf0ca8c4037c476a9451e776663f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # TestCSplit
 
index 7fb45ae4d0511703e21388691e49315a094048af..321c2d92b36c73d7447797ed9ce1df2749b640c7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # TestDirList
 
index 2750378311c270ee2e79eead16e354505ed43de5..e67c3f96410ca860a96b60e4f73b39e9902799da 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # TestFormSplit
 
index f6bbe23688a98723c5e00d985d7764316716c5b7..29274e67770b1d0f4c9ae55500d67cf654f7eca8 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # TestSched
 
index 9f4c86117df9dcb2cc232bcb5f89cd0ef6a2fadf..b15b049c43dfd7f490cf56fa30b9dda058ebed87 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Test TextEdit widgets
 
index 4328b7b40c1a2a25522ef136cf16c8e4258897fa..90f1d22bce8197fc59be088484418cb8b11322bd 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # 'clock' -- A simple alarm clock
 
index 588270ed490a4cd62f842a357b6e0fe481a1cf8d..ce6e16a2fcacc0c0243dfc859b633cf2e6dac090 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Call ibrowse (the info file browser) under UNIX.
 
index e218e666c72d05e9d5af33d633443fba682d5f22..e3c9db8b281e14124f4021c9b4416db0d7f18f95 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # XXX This only works on SGIs running IRIX 4.0 or higher
 
index eaf98bea342a07f4709ea3d938f4543133e2a9fa..519b42806131729a13923f5801d2907fa0beea29 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Watch line printer queues (only works with BSD 4.3 lpq).
 #
index eca093a1883c78ee036575b309e094b4e2129a9f..1091676a49205ff8065fad42e98c091d7dc66563 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A minimal single-window text editor using STDWIN's text objects.
 #
index 3d4aeeaa0dd9cdecaed19bd8bbb614c82641a192..9a11c2da11e1f88bb9c596d59bc01feddcecdc76 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A miniature multi-window editor using STDWIN's text objects.
 #
index 29b0495fd7cc395e065b19177abbcdcdf8433d12..8a3dfce1ba171fa38b88773f46e0df6c065d8265 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A STDWIN-based front end for the Python interpreter.
 #
index 60be86dcf64cc066f7629b4ae80b38e3ba16d02e..b8c8da37315519385fe9cbe78340853564693e61 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A window-oriented recursive diff utility.
 # NB: This uses undocumented window classing modules.
index 06b7a882eddf6cd3a074056b8d66e9337d42e0c1..2b9857981045c5e2e61c61b31475f41c955846b7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # View a single MIME multipart message.
 # Display each part as a box.
index 500a73d92d4434d5b4d755274331380edd43bff1..62ad3e31cfe43ec0581928bbe8ef095309386627 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A Python function that generates dialog boxes with a text message,
 # optional bitmap, and any number of buttons.
index 7296955328a4721e57eb6e39de5233388e64d817..f3b80081d0ebd1cf3920beead427dde7a6982908 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Simulate "electrons" migrating across the screen.  
 # An optional bitmap file in can be in the background.
index 24335cc549074d6ff930c5c68da70b0b0b2e2088..577af8b8b8056033bbc984491f89e57399041282 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 # Tkinter interface to Linux `kill' command.
 
 from Tkinter import *
index 338231147b62d3544db8b8c43702026d1f6ac5a1..9aea7ee5b1764f164925ebbda583935d48cd2219 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Scan MH folder, display results in window
 
index f9f1785033f9a318d27518bb7c9454f1328a40c2..6e9a8288faf8260262ae326fea2e6593131903c7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A Python program implementing rmt, an application for remotely
 # controlling other Tk applications.
index dd808566867ec40da84c44fbfb3d076a05cfb847..1c54e4b165f2dfb8160fda3cd9b69fd8084b9ed3 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Tkinter interface to SYSV `ps' and `kill' commands.
 
index 34ca4a333840457ceab487c05126cdcea2c51d70..70aaae3e18c5aa6c868c9b5b753c70bd81e86050 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Tk man page browser -- currently only shows the Tcl/Tk man pages
 
index dc30e215ad189c313f6378db31d40f93c9c16dcd..558fd740f3abe9ec61c889d333d003f7fb8aba85 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www1.py -- print the contents of a URL on stdout
 
index def5196de8c11e528bb764333168ff292e7b8ac5..eef5220281cb3a8f07985e5a013f35a19f1e8ed0 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www10.py -- display the contents of a URL in a Text widget
 # - set window title
index 59b71c09c78460f1bf1b1ba5401f73be257304b2..0b13ce1c0d289bae8ede165663ace21667ce0271 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www11.py -- display the contents of a URL in a Text widget
 # - set window title
index 2e870c47832c8f4e2caf697d443c4aa3fd149d0c..78884c9d3655b290b638dbc50bed96f686b14a25 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www12.py -- display the contents of a URL in a Text widget
 # - set window title
index af9b176a5192b924d04fecb6cf5b33c4f0f650b7..90de01633dcacb2efa62518de8f0aeb64570d2f5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www13.py -- display the contents of a URL in a Text widget
 # - set window title
index d14306ab0547b71a2ee4a28489986dc45784e74f..3501803e07f37aa950bdba7b134ee316eaf6d597 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www2.py -- print the contents of a URL on stdout
 # - error checking
index eb8b07f41612e6126146ff392d9aa2456d597467..e1b1bc5b4be84300842843f549fa9db4718101dc 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www3.py -- print the contents of a URL on stdout
 # - error checking
index 4351004ca45f38c7f44c94e299e73d22cacf2679..b916dca11700f6a466f8c4a8393320a59a217aaf 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www4.py -- display the contents of a URL in a Text widget
 
index 0ea451f21db23855d7c87cc8d6743ab0432c4db1..83f6ab9b6a7c65aa0510232124dc8a5878e17714 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www5.py -- display the contents of a URL in a Text widget
 # - set window title
index a9b06983970273fed593ff5b3e05a1914bc311c1..a8824facc33ffe112f6a5ce6a149d7b3586f9da2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www6.py -- display the contents of a URL in a Text widget
 # - set window title
index cb4313d13769908396ca48a7dffb7a63d0e1e49e..be66dc89b4cae8f2ff5d0d04b1206d04caa26d25 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www7.py -- display the contents of a URL in a Text widget
 # - set window title
index 868a7ed45225b63f176d1589aabb60411c8fce0f..097121b233cdc1dcc508a9f49ab1c99edb838e43 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www8.py -- display the contents of a URL in a Text widget
 # - set window title
index 60b46ed885c5a2e48ce93e855f5602ac93280741..12ca0f3c66cf4ac5fd4af468d60be2677a352e15 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # www9.py -- display the contents of a URL in a Text widget
 # - set window title
index 3f1a1c4e1e8f156aa63f9ddc8f8eeb4c4c8268bf..7fab38d87535c2f8c8a3a13ac45730f5e765085d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 
 """Support module for CGI (Common Gateway Interface) scripts.
 
@@ -216,10 +216,14 @@ Unix file mode should be 755 (use "chmod 755 filename").  Make sure
 that the first line of the script contains "#!" starting in column 1
 followed by the pathname of the Python interpreter, for instance:
 
-       #!/usr/local/bin/python
+       #! /usr/local/bin/python
 
 Make sure the Python interpreter exists and is executable by "others".
 
+(Note that it's probably not a good idea to use #! /usr/bin/env python
+here, since the Python interpreter may not be on the default path
+given to CGI scripts!!!)
+
 Make sure that any files your script needs to read or write are
 readable or writable, respectively, by "others" -- their mode should
 be 644 for readable and 666 for writable.  This is because, for
index 3d7d2fc7dce5956ffcd726411cdc25b373a12ef7..36f58f568c81be952b449270ae740f581a11cd51 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 
 """Classes to handle Unix style, MMDF style, and MH style mailboxes."""
 
index 0b2bb1ba73c1f46324ca6229b17ff3a83639e79d..ce4c4baebf3091ba5201c6ccd35ede2ac4470ac3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 
 '''Mimification and unmimification of mail messages.
 
index 62927a373002236bf9c6cc499407d2f23b097ae7..42080cc97b2da1c6b67faffa542edf73e19827ce 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # pdb.py -- finally, a Python debugger!
 
index 51e95cb8952dae8481f3f0b7311e6bfd06be51f1..582bd8a7300143b738c8fdc8120b3eec6048f669 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 #
 # Class for profiling python code. rev 1.0  6/2/94
 #
index 954e6c9ebfc1f26c23d043aafc6ee23692d493d5..c388982dbca7d3432cd077321b2ab4e83526e596 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """
 "PYSTONE" Benchmark Program
index fa28aaa087ae2d9ed2f1ecdd43bfde69d33df5af..f5337756f9299122b49645ee232dcc1a5474a4c2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 import regex
 import regsub
index 84346b49d6aaa0b983716df273f3508c065fb804..32f3e79601be60298feca0d59f591b4d9a84359d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 
 # A somewhat-generalized FAQ-to-HTML converter (by Ka-Ping Yee, 10 Sept 96)
 
index f2299b66f26a0f9535a387a18ac6602210a1a4a8..cc2d075f264f405dd1b981c4aed255fa1ef92a0d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Renumber the Python FAQ
 
index eb91ecb5846852b71cad6fed93b97535ff9f17b3..7018acac449fa08f1297e4c3bf8a0126f15f5e69 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """Freeze a Python script into a binary.
 
index 25681aed7d00a8820e6abc56c5c0c359c59865aa..15b16a9e6034a9ab07781b06de6584be4b4c4ecd 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # A Python function that generates dialog boxes with a text message,
 # optional bitmap, and any number of buttons.
index 02ad80d572c1433ddabb7cc5ed173e9391262b3f..da3ce129215584ac152278ecf293eed8733be776 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 #
 # Modulator - Generate skeleton modules.
 #
index 4abdca641c8c235ec8b81932c5d88dac47e285c5..bada5a538abbd5d095f362e2e986d49707ba3249 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Print the product of age and size of each file, in suitable units.
 #
index 6ef6492a0be4c95e8d401712f458d82fc79034fe..6df0472b28358c1c24d5927e36d718c76782fe77 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 # Check that all ".pyc" files exist and are up-to-date
 # Uses module 'os'
 
index e6760519900a270420a77651259e6e138d4eeb09..53ea0b88f13c20d0c8e1b4a9f5e79e73e72c4245 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # This script is obsolete -- it is kept for historical purposes only.
 #
index 599e3370c145dce2d605cea8db3857880883f97b..d01643b1811f17ffa14a130383c92ab8da883327 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Copy one file's atime and mtime to another
 
index 58d0b14542a1ee8ab6565db6797f6912fd919728..4cb9353239e433dc656314425697cc0c3eaa8a03 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 # Format du output in a tree shape
 
 import os, string, sys
index 63b5781347f57ebd605e49e6f7ffa9ad2d578925..86b6ee17c417775eacd540e612153f812d82bc29 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # eptags
 #
index d2fc430b282fd1a8ed98de2485cf99777a1c9a8e..06821cd6cbe9029205a24dd146cc85b544ccd39e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # findlinksto
 #
index c1df5f3144ab0b646fa0dd1955cf1b1a0f1e1d76..4c4d5853e2971c8a4b75535bd84d61ab5a822633 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Perform massive identifier substitution on C source files.
 # This actually tokenizes the files (to some extent) so it can
index 8f121fa87415d868de609e047d01fa16e46dc6e7..774b907e4fdd0d4f2b15f170ca8181899f7d87a9 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Add some standard cpp magic to a header file
 
index 10520f91d5ce9d02343d5946f5fa059c89b11658..787884790929da21701b7ed12851f19ef3e5c03c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Mirror a remote ftp subtree into a local directory tree.
 # Basic usage: ftpmirror [options] host remotedir localdir
index 581f92f288afd5353d5c93dedf7f533ce0e9913e..c34073df5fc0d74a91df0f239aee3a767f5c46fe 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Read #define's and translate to Python code.
 # Handle #include statements.
index 9d74be2fec7235cb4a16bbefba6841d178590527..ff64425c9a776666d3afdaa7cac2c9c8c98719c7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Selectively preprocess #ifdef / #ifndef statements.
 # Usage:
index 3239434a0b877365c3a8fec58baa97c438ab33e5..73825c9970dfb507958a43aebd15ae549e615488 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # linktree
 #
index 0043645b4ca13864a4bd3d984bfd057e78f80638..d107080e8ecec77f801ac469c72a5c06660bf7f0 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Find symbolic links and show where they point to.
 # Arguments are directories to search; default is current directory.
index 60f2a56cbc832d676d0b5af817c2cb44e17a7286..b0918d61a2aeb68e67218fbe0e668246f72daf72 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Fix Python source files to avoid using 
 #      def method(self, (arg1, ..., argn)):
index bc4dd1300a1231d2682a1e81d057854e106f8509..a065c1759a511f1d793fbe2130447261a9381b9f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # mkreal
 #
index c6bbe665a239f39b806d000b91940dd72c0d2e25..4eab79b8832a27e33d79593a9f0df207c813328a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#! /usr/bin/env python
 
 # objgraph
 #
index 8cf573fee322ca31098edf83f5ed391be27f2004..fb730f1ed345ef4de97d1a6d90f50658c3816294 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # pdeps
 #
index 6432f4cc2d213837344c287b21afd231d0f9b2c1..1845ed8286ffc29c0a08124788310ab5fab5e06e 100755 (executable)
@@ -1,5 +1,4 @@
-#! /usr/local/bin/python
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # This file contains a class and a main program that perform two
 # related (though complimentary) formatting operations on Python
index b8fc232d7821da072d29954149bad454fa26b239..f63746eb5d48a08ba831bb064ea091d616ba2845 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # ptags
 #
index 954e6c9ebfc1f26c23d043aafc6ee23692d493d5..c388982dbca7d3432cd077321b2ab4e83526e596 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 """
 "PYSTONE" Benchmark Program
index 491fd3b4820552741aadf88a5a8f095a90dbf5a0..826e236c3f23cbab3169f10e500c8fdc5cef1905 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # suff
 #
index fdb83faa139ccb184192ec46f06fd958f01fbce8..09bc6863b2037ed296f4c013f52c889ced6f8f65 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # print md5 checksum for files
 
index 07c0d2e7d071f613d10798a9fefca03477d39861..0aff2cd187462be0c48ab322f413b7dfd0b034d1 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # Variant of "which".
 # On stderr, near and total misses are reported.
index 9ab5669eb52d33926845008862e7cae0b74dbd70..d8608a094cd7d0fd8fec26d01d455cca253e83c3 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python
 
 # xxci
 #