Skip to content

Commit ec49969

Browse files
committed
* for version 1.048
1 parent da717a2 commit ec49969

File tree

1 file changed

+165
-0
lines changed

1 file changed

+165
-0
lines changed

Changes

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,170 @@
11
Revision history for Perl module PerlPowerTools
22

3+
1.048 2024-12-09T21:14:46Z
4+
* All changes from Michael Mikonos
5+
* apply
6+
- allow a space after -a so it isn't confused with bundled options (#806)
7+
* bc
8+
- use Math::Trig (released with 5.004) for trig (#857)
9+
- change for GNU mathlib to internal perl (#861)
10+
- catch situations where there are missing arguments to functions (#865)
11+
- simplify docs and correct some typos (#868)
12+
* cal
13+
- silence some warnings with better checks (#805)
14+
* chgrp
15+
- accept group ID argument (#798)
16+
* chmod
17+
- various internals improvements (#813)
18+
- exit with 1 if a file fails (#814)
19+
- check for redline failures and exit with failure code when they fail (#828)
20+
- handle symbolic permissions correctly (#843)
21+
* chown
22+
- allow numeric UID argument (#804)
23+
- allow for numeric group in user:group notation (#822)
24+
* cmp
25+
- better messages when files differ at end of file (#766)
26+
* cp
27+
- cp -i will continue to next file if there is an error. (#827)
28+
* cut
29+
- correctly handle "start, no end" (`n-`) range in `-b` (#783)
30+
- handle -f consistently (#789)
31+
* du
32+
- properly handle illegal BLOCKSIZE env values (#784)
33+
- exit code 1 on error (#818)
34+
* ed
35+
- w commands prints byte count when ed is started without a filename (#760)
36+
- correctly escape literal $ in binary output (#762)
37+
- various internals improvements (#763)
38+
- an empty search reuses the previous search (#764)
39+
- add g command to grep a buffer (#765)
40+
- -s now also suppresses diagnostics when editing a file (#767)
41+
- allow repeated search with // and ?? (#768)
42+
- add v command for inverted searches (#770)
43+
- various internals improvements (#771)
44+
- various internals improvements (#772)
45+
- re-add support for /re/ address-mode (#773)
46+
- support ?re? address mode (#774)
47+
- various internals improvements (#775)
48+
- various internals improvements (#777)
49+
- various internals improvements (#780)
50+
- % takes OpenBSD meaning of "all addresses"; it can only be used alone (#782)
51+
- implement global substitute: g/search1/s/search2/replace/ allows search1 to filter the lines to process, then search2 determines the text to replace per line (#786)
52+
- implement repeat search for g// & v// (#787)
53+
- various internals improvements (#788)
54+
- make wq shortcut work again after previous fix changed it (#790)
55+
- implement ';' addressing mode (#792)
56+
- remove -d (debugging) switch since the debugging output isn't that helpful (#793)
57+
- support '^' addressing (#797)
58+
- various internals improvements (#808)
59+
- basic support for mark (K) command (#812)
60+
- implement reading output from a command (`r !cmd`) and writing to a command (`w !cmd`), and reject filenames that start with ! for f command. (#824)
61+
- various internals improvements (#829)
62+
- m command accepts address argument (#830)
63+
- various internals improvements (#831)
64+
- various internals improvements (#834)
65+
- disallow trailing '/' when setting filename (#845)
66+
- reject filename of '.' or '..' (#849)
67+
- always exit with 1 for failure (#863)
68+
- add undo (u) command (#869)
69+
- update current line in undo (#871)
70+
* expr
71+
- == is no longer accepted as a synonym for = since this is not a standard option (#751)
72+
- numbers can start with + (#836)
73+
- ignore -- if it's the first argument (fatal is it is the only argument) (#840)
74+
* file
75+
- -f works properly by checking the definedness of its argument instead of truthiness, and chomps the lines it reads. (#769)
76+
* fmt
77+
- use GNU's method for formatting so single words aren't broken up (#866)
78+
* fold
79+
- fix possbile infinite loop in -bs (#796)
80+
- improve usage message (no longer takes a parameter) (#835)
81+
* glob
82+
- various internals improvements (#848)
83+
- debug info goes to STDERR instead of STDOUT (#855)
84+
- silence some warnings by removing prototypes (#859)
85+
- various internals improvements (#862)
86+
- with ~someuser, if that user is not found, treat it as a non-match instead of an error (#867)
87+
* grep
88+
- be more careful with handling the TERM env var (#749)
89+
- various internals improvements (#756)
90+
- allow multiple -e or -f on the command line (#757)
91+
- -Fi shows original line, not line as all lowercase (#776)
92+
- -a (binary files) changed to act like the OpenBSD/GNU by printing the "line" that matched (#795)
93+
- add -Z to operate in zgrep mode (don't automatically decompress everything) (#799)
94+
- Remove -1 switch. Use -m 1 instead, for GNU compatibility (#809)
95+
- implement -A for context after a match (#810)
96+
- various internals improvements (#811)
97+
- add -I (capital i) switch to ignore binary files (#815)
98+
- make space after -e or -f optional (#816)
99+
- remove -p and -P for paragraph mode, which was a non-standard perl extension (#817)
100+
- make -R a synonym for -r (#820)
101+
- return no match exit code for an empty pattern file used with -f (#821)
102+
- various internals improvements (#826)
103+
* hangman
104+
- consistently handle eof when there is not a guess (#842)
105+
* hexdump
106+
- remove non-standard -u (unbuffered) option (#847)
107+
- add -b, -d, -o and -x format options (#850)
108+
- various internals improvements (#851)
109+
- don't die for directory argument; warn and move to next argument (#858)
110+
* id
111+
- exit 1 on failure (not die with 255) (#846)
112+
* install
113+
- allow mode to be 0 (make thing temporarily unavailable even when installed) (#837)
114+
- implement -b to preserve existing files (#839)
115+
- handle symbolic permissions correctly (#841)
116+
* kill
117+
- remove undocumented -L option, which was the same as -l (lowercase) (#778)
118+
- various internals improvements (#781)
119+
* ls
120+
- don't automatically opendir everything (#801)
121+
* mail
122+
- don't die for message id 0 (#785)
123+
- trim leading spaces from command input (#800)
124+
- use VISUAL for the path to vi, or look for vi in the PATH (#823)
125+
- various internals improvements (#825)
126+
- various internals improvements (#832)
127+
- add --version and improve usage message (#833)
128+
- -f usage forbids extra args (#870)
129+
* mkdir
130+
- default permissions are 0777 unless you specify them (#854)
131+
* od
132+
- various internals improvements (#852)
133+
- various internals improvements (#853)
134+
* par
135+
- change to using getopts, so now unrecognized options complain (#752)
136+
* patch
137+
- note that patch exists with 0 for success (#779)
138+
* pr
139+
- allow 0 to be a valid header (check for definedness, not truth) (#791)
140+
* rmdir
141+
- test that an argument is a directory before trying to remove it (better error message) (#803)
142+
* spell
143+
- various internals improvements (#838)
144+
* split
145+
- allow /0/ pattern split (check pattern is defined, not true) (#807)
146+
* tail
147+
- use File::Spec to construct paths portably (#856)
148+
- some fixups to make strict happy (#864)
149+
* tsort
150+
- raise error for an odd number of input tokens (#758)
151+
- various internals improvements (#759)
152+
- allow nodes to refer to themselves (has no dependency). This previously created a cycle error. (#761)
153+
* uniq
154+
- arguments are now exactly one input file and optionally one output file (#819)
155+
* units
156+
- allow -fFILE (no space before argument) (#844)
157+
* unshar
158+
- change to Getopt::Std (#860)
159+
* what
160+
- various internals improvements (#750)
161+
- handle -s and nulls properly (#753)
162+
- exit with 0 only if there are matches (#754)
163+
- various internals improvements (#755)
164+
- line prefix is a tab instead of eight spaces (#794)
165+
* wump
166+
- various internals improvements (#802)
167+
3168
1.047 2024-09-30T02:33:14Z
4169
* All changes from Michael Mikonos
5170
* addbib

0 commit comments

Comments
 (0)