Tim J. Robbins
|
7dd4ac68f1
|
Use err instead of errx when malloc fails. "malloc" is not a helpful
error message.
|
2002-07-05 09:28:13 +00:00 |
|
Tim J. Robbins
|
232a0ff51d
|
Improve parsing of character and equivalence classes:
[:*] and [=*] are parsed as `infinitely many repetitions of :' (or *)
instead of literal characters (SUSv3)
|
2002-06-15 07:38:27 +00:00 |
|
Tim J. Robbins
|
e73c3d279c
|
Don't treat the trailing ']' of an equivalence class expression as a
character in the set. tr -d '[=a=]' was deleting ]'s as well as a's.
Noticed by the textutils test suite.
|
2002-06-14 09:53:11 +00:00 |
|
Tim J. Robbins
|
85f6c317ea
|
Implement support for equivalence classes ([=e=]) when the mapping is
one-to-one (SUSv3)
|
2002-06-14 07:37:08 +00:00 |
|
Warner Losh
|
3f330d7d1a
|
remove __P
|
2002-03-22 01:42:45 +00:00 |
|
Mark Murray
|
787324755c
|
WARNS=2 fixes, use __FBSDID(), kill register keyword.
|
2001-12-11 23:36:25 +00:00 |
|
Peter Wemm
|
c3aac50f28
|
$Id$ -> $FreeBSD$
|
1999-08-28 01:08:13 +00:00 |
|
Philippe Charnier
|
af647767ed
|
Use err(3) instead of local redefinition. Cosmetic in usage().
|
1997-08-18 07:24:58 +00:00 |
|
Joerg Wunsch
|
3281f9d8e5
|
Cast char's to (u_char) before passing them to isctype() functions.
|
1996-03-19 21:21:06 +00:00 |
|
Joerg Wunsch
|
6109ca90ae
|
Fix a couple of sign-extension bugs.
Submitted by: serg@bcs1.bcs.zaporizhzhe.ua (Sergey Shkonda)
|
1996-03-17 09:00:48 +00:00 |
|
Bruce Evans
|
67a8a10b9c
|
Updated to BSD4.4lite2. Fixes PR836. `echo abcd | tr a-d A-BC-D' now
works.
|
1995-11-28 13:18:47 +00:00 |
|
Andrey A. Chernov
|
199482ead7
|
Fix broken charclass handling
Add setlocale LC_CTYPE
|
1995-10-28 22:27:03 +00:00 |
|
Poul-Henning Kamp
|
b8ab406ba1
|
Remove declamations which <ctype.h> already does for us.
|
1995-10-21 22:02:10 +00:00 |
|
Poul-Henning Kamp
|
37782cea67
|
Added #include <ctype.h>
|
1995-10-21 21:08:43 +00:00 |
|
Andrey A. Chernov
|
cfb92d36fb
|
Fix print class mistype
|
1994-10-28 23:31:48 +00:00 |
|
Rodney W. Grimes
|
9b50d90275
|
BSD 4.4 Lite Usr.bin Sources
|
1994-05-27 12:33:43 +00:00 |
|