Commit graph

43 commits

Author SHA1 Message Date
4c3431d98c patch van Pieter geintegreerd 2005-01-28 13:09:04 +00:00
67ddd04757 install __DIE__ handler instead of silly cdie sub 2002-12-18 12:34:22 +00:00
61d3aecfa5 cruft 2002-12-18 12:14:02 +00:00
98520b4d12 don't forget the normal exits 2002-12-18 12:11:47 +00:00
6c5dd0637e remove temp file on exit 2002-12-18 12:10:39 +00:00
3d6e9ffea7 cleaner. better error msg 2002-12-13 18:54:12 +00:00
8b06d627bf show line numbers when moving multiple files to the same name in interactive mode 2002-12-12 10:40:38 +00:00
462de5d6e1 make it possible to continue editing in interactive mode to correct errors 2002-12-12 10:30:57 +00:00
fdc7371f0e fail more flexibly 2002-12-12 10:05:00 +00:00
445c789564 cleanup a bit...
templating...
2002-12-12 09:52:42 +00:00
dbe4afb325 in case of doubles, show which files are the culprits 2002-12-11 11:51:42 +00:00
942ef34fb9 fix prototype 2002-11-11 18:56:10 +00:00
5067c06ad0 oeps, don't show lockfile in list 2002-02-05 21:41:17 +00:00
3d022151d7 clean up locks a little better 2002-02-05 21:11:23 +00:00
b888072fb2 Nog effectiever ipv 29 sec op 5300 files nu nog maar:
mvwrap -n  0.46s user 0.10s system 12% cpu 4.635 total

whee. chomp is blijkbaar duur
2002-02-05 15:46:52 +00:00
26c1f324d4 At lot more efficient by linearizing a O(N^2) function in
check_safety. I think this can be further optimized by using
a temporary hash. Anyway, on a directory with 5327 files swapping to
file names had this effect:

time mvwrap.old -n
mvwrap.old -n  183.40s user 0.11s system 91% cpu 3:20.83 total

became:

time mvwrap -n
mvwrap -n  29.03s user 0.15s system 78% cpu 36.946 total

Which still takes too long, but is a lot better. ;)
2002-02-04 21:59:53 +00:00
ad85d0295d betere foutmeldingen $! ipv $? 2002-02-04 11:05:34 +00:00
78745d481b double quotes round filenames in verbose modes 2002-01-23 19:33:29 +00:00
78d4a3f5d6 -t veranderd in -n op verzoek vanstijn hugo 2002-01-21 08:48:15 +00:00
56472b9ea3 geen onnodige moves maken.... 2002-01-20 11:34:44 +00:00
3aa5c14d17 fix typo 2002-01-19 22:33:23 +00:00
0e8d99ab70 that didn't help 2002-01-19 22:21:21 +00:00
4ab58ca073 more possible-bug fixes 2002-01-19 22:19:14 +00:00
669fb5b5b8 Fix horrible bugs in safety code! 2002-01-19 22:14:12 +00:00
ff4d7f1210 -v is nu verbose; laat zien wat er gebeurt
-t is voor test
2002-01-19 21:52:09 +00:00
52c46b71a4 -v optie ge\"implementeerd, voor verbose/verify kun je eerst
je moves checken. Waarschijnlijk handig samen met -p
2002-01-19 21:45:04 +00:00
5bcdc11ee3 Lock files opruimen bij "soft-errors" 2001-12-06 12:19:43 +00:00
ca5438d012 ok, specifying files should be safe now 2001-08-30 12:52:02 +00:00
5c90dfb045 now it's possible to specify files to use mv_wrap on
this may be dangerous! do I check for files which are not in @source?
2001-08-30 12:32:17 +00:00
ff1d908255 neem . en .. niet meer mee in vi 2001-08-30 08:04:22 +00:00
0b3629c4f5 some code cleanups 2001-08-01 21:31:45 +00:00
9770daf06f some more bug squashing... 2001-08-01 14:28:38 +00:00
8d8aafde7f fix small buglet, which made it not work ;) 2001-08-01 11:25:52 +00:00
c9e5806028 -f patternfile werkt nu ook
wat debugging zooi weggehaald
2001-08-01 09:03:18 +00:00
7087a82261 sed mogelijkheid erweer uit gehaald. dit is Perl gvd. ;)
-p pattern werkt nu
2001-08-01 08:50:18 +00:00
053bdc1b09 added options:
-h for help
-e "editor" for anternative editor
-s "streameditor" for stream editors

also added checking for empty lines
2001-07-31 22:16:52 +00:00
b0b7aeeebb locking geintroduceerd 2001-07-31 14:41:13 +00:00
00e82e9bb6 meer perlerig, ofwel korter, sneller, minder leesbaar ;) 2001-07-31 13:20:35 +00:00
99453e294c $Id$ gaan gebruiken 2001-07-31 11:59:16 +00:00
4178105847 regels wisselen kan nu ook 2001-07-31 11:50:31 +00:00
e78a149ecb a bit safer now
you can't move 2 files to the same target anymore
2001-07-31 09:18:48 +00:00
fefa3624ee mv_wrap snapt nu de EDITOR variable 2001-07-31 08:55:40 +00:00
d92c3e0f4b initiele import 2001-07-31 08:40:13 +00:00