summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Use re instead of regex.Guido van Rossum1999-04-091-10/+11
| | | | | Don't rewrite the file in place. (Reported by Andy Dustman.)
* For reasons I dare not explain, this script should always executeGuido van Rossum1999-04-021-2/+1
| | | | main() when imported (in other words, it is not usable as a module).
* Tim Peters writes:Guido van Rossum1999-03-281-24/+53
| | | | | | | | I should have waited overnight <wink/sigh>. Nothing wrong with the one I sent, but I couldn't resist going on to add new -r1 / -r2 cmdline options for recreating the original files from ndiff's output. That's attached, if you're game! Us Windows guys don't usually have a sed sitting around <wink>.
* Tim Peters writes:Guido van Rossum1999-03-271-160/+88
| | | | | | | Attached is a cleaned-up version of ndiff (added useful module docstring, now echo'ed in case of cmd line mistake); added -q option to suppress initial file identification lines; + other minor cleanups, & a slightly faster match engine.
* During display, if EPIPE is raised, it's probably because a pager wasFred Drake1999-03-261-3/+8
| | | | killed. Discard the error in that case, but propogate it otherwise.
* Added a -q ('quiet') option to tabnanny, which causes only the names ofAndrew M. Kuchling1998-12-181-3/+7
| | | | offending files to be printed. Good for emacs `tabnanny.py *.py`
* Patch by Chris Herborth:Guido van Rossum1998-12-171-1/+7
| | | | | BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all.
* Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:Guido van Rossum1998-10-201-1/+4
| | | | | | | | | """ the NEWS file of Python 1.5.2a2 inspired me to look at Tools/scripts/untabify.py. I wonder why it accepts a -t argument but ignores it. The following patch tries to make it somewhat useful (i.e., to override the tabsize=8 setting). Is that agreeable? """
* New version that is much more compact and easier to maintain. (Sjoerd)Guido van Rossum1998-10-091-239/+124
|
* Fix multi-arg list.append() calls.Guido van Rossum1998-10-083-9/+9
|
* Added a whole bunch of descriptions.Guido van Rossum1998-10-071-0/+11
|
* Use the imp module to get the magic word.Guido van Rossum1998-10-071-6/+2
|
* Added #! lineGuido van Rossum1998-10-071-0/+1
|
* Print serious errors to stderr instead of stdout.Guido van Rossum1998-09-141-4/+11
|
* nannifiedGuido van Rossum1998-09-141-885/+885
|
* nannifiedGuido van Rossum1998-09-141-17/+17
|
* nannified.Guido van Rossum1998-09-141-8/+8
|
* Utility to replace CRLF with LF in argument files.Guido van Rossum1998-09-141-0/+19
|
* Utility to replace LF with CRLF in argument files.Guido van Rossum1998-09-141-0/+19
|
* Utility to untabify stubber results.Guido van Rossum1998-09-141-0/+50
|
* New tool: reverse grep (greps from the end). Uses a fairly efficientGuido van Rossum1998-08-121-0/+65
| | | | strategy to read from the end of the file.
* A script by Mark-Andre Lemburg to produce the PC/python_nt.def fileGuido van Rossum1998-08-101-0/+102
| | | | automatically.
* # The variable total is never used somehow. I think I had plans forGuido van Rossum1998-07-021-2/+2
| | | | # it but can't remember what. Get rid of a comparison that breaks.
* Fix by Sjoerd Mullender to support symbolic links and make a backup ofGuido van Rossum1998-06-291-56/+80
| | | | | | | | .mirrorinfo. Fix by me to call string.lstrip(filename) to cope with a bug in strop.strip() in Python 1.4. Additionally, I changed all print statements that print filenames etc. to put them in backquotes so that it will be more obvious when there's a funny character on one of them (such as a space...).
* Translated to use re instead of regex. Also replaced one use ofGuido van Rossum1998-06-191-33/+45
| | | | L.append(a,b,c,d) with the correct L.append((a,b,c,d)).
* From: "Tim Peters" <tim_one@msn.com>Guido van Rossum1998-06-091-3/+9
| | | | | | | | | | The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last line is both indented and lacks a newline: if 1: print 'oh fudge' # no newline here: The attached version repairs that.
* OK, here's a different way to implement the same thing -- this versionGuido van Rossum1998-05-121-6/+6
| | | | also supports filenames with multiple spaces in their name :-)
* Support filenames with spaces in their names (for non-Mac ftp servers).Guido van Rossum1998-05-121-2/+2
| | | | | | | | | | This patch must hold the world record for living in my inbox: From: John Ehresman <jehresma@dsg.harvard.edu> Date: Wed, 23 Aug 1995 16:07:11 -0400 He provided a fix for the version that comes with Python 1.3: ftpmirror.py revision 1.1... And it was still relevant!
* Add the specific sed statement to recover the second output file toGuido van Rossum1998-05-081-1/+6
| | | | the comments.
* Adding Tim Peters' ndiff utility.Guido van Rossum1998-05-061-0/+667
| | | | | This is handy for comparing plain-text documentation files, since it displays intra-line differences.
* typo in error message (fname vs. file).Guido van Rossum1998-04-281-1/+1
| | | | (Jack)
* Use the (new) standard script #! lineBarry Warsaw1998-04-231-28/+51
| | | | | | Convert to re module; remove all references to regexp and regsub Added support for the new texinfo @url{} and @email{} commands
* Tim's version 4, with my modsGuido van Rossum1998-04-101-14/+6
|
* Add usage message when no arguments.Guido van Rossum1998-04-062-0/+8
|
* Tim's latest version (supports old and new tokenize modules)Guido van Rossum1998-04-061-77/+128
|
* Tim Peters' program for checking whether a program's indentation isGuido van Rossum1998-03-311-0/+302
| | | | | sensitive to tab size. Uses a different strategy than tabpolice.py, but has compatible usage.
* Add -q option that *just* prints the filename.Guido van Rossum1998-03-261-7/+13
|
* give in to tab policeGuido van Rossum1998-03-246-435/+440
|
* Report first line with inconsistent tab usage.Guido van Rossum1998-03-241-4/+24
|
* The Tab Police watches for possibly inconsistent indentation.Guido van Rossum1998-03-201-0/+74
|
* Dangerous feature added: when removing local files (i.e., only when -rGuido van Rossum1998-01-041-25/+50
| | | | | | is used), do a recursive delete. Use -r with even more caution! Also changed usage message into a doc string, added a comment or two, and rearranged a long line.
* Added "-n file" option to only print files newer than the given file.Guido van Rossum1997-11-241-4/+37
|
* When checking for equality, open the slave file in text mode so itGuido van Rossum1997-11-041-2/+6
| | | | | | | | will compare equal even if the master file uses only \n to terminate lines (this is by far the most common situation). Also, check for the case where the master file is missing, and print the time difference in seconds when the slave file appears newer than the master (for debugging).
* Remove "." or "" from front of sys.path (this bit me once).Guido van Rossum1997-10-201-0/+3
|
* Fix comment to add the all-important trailing colon to the example.Guido van Rossum1997-10-061-9/+16
| | | | Print the author with the revision date and filename.
* Moved pystone to Lib/test. Use import test.pystone to run it.Guido van Rossum1997-09-162-249/+0
|
* Skip symlinks; don't bother keeping a list of files that is never used.Guido van Rossum1997-09-161-5/+2
|
* Use correct keyword parameter when calling copy with answer option!Guido van Rossum1997-08-181-2/+2
|
* Oops, there was a bug in the output formatting - the last printedGuido van Rossum1997-08-141-2/+2
| | | | values would overwrite the next value.
* Added logmerge.pyGuido van Rossum1997-08-141-0/+1
|