Commit Graph

1139 Commits

Author SHA1 Message Date
Connor Lane Smith
20d526391d chmod, chown: remove redundant flag 2012-05-25 21:52:01 +01:00
Connor Lane Smith
95ea9d4a00 fold: clarify utf8 behaviour in manpage 2012-05-25 21:51:24 +01:00
Robert Ransom
9ea0be3f07 Add missing file (util/getlines.c) 2012-05-22 11:05:07 +00:00
Robert Ransom
e6238dda31 grep: Remove trailing newline before trying to match RE
This unbreaks the "$" operator
and some uses of grep with other REs
(e.g. 'grep . TODO' to remove empty lines).
2012-05-22 00:05:03 +00:00
Robert Ransom
8ed28e50e4 uniq: WTFM 2012-05-21 23:46:22 +00:00
Robert Ransom
a16f603b20 uniq: Lobotomize for POSIX-subset compatibility
POSIX uniq(1) is required to write to its second argument,
if one is given.
The multiple-input feature I accidentally added might be useful,
but users and scripts who rely on it would be put at risk for data loss
if they ever run into a POSIX uniq(1).
2012-05-21 23:33:36 +00:00
Robert Ransom
85efaad43b uniq: Initial commit 2012-05-21 23:24:28 +00:00
Robert Ransom
85b84675f1 I'm probably a sbase copyright holder now 2012-05-21 22:17:54 +00:00
Robert Ransom
05f24a6764 mc: WTFM 2012-05-21 22:16:46 +00:00
Robert Ransom
19e8c45158 mc: Initial commit 2012-05-21 22:05:09 +00:00
Robert Ransom
a6308d52be Makefile: Correct list of .o files depending on text.h 2012-05-21 21:12:11 +00:00
Robert Ransom
07b702d9a1 sort: Librarify getlines() 2012-05-21 21:09:38 +00:00
Robert Ransom
6a86755fee sort: Expand linebuf.lines by more than one pointer-size at a time 2012-05-21 20:27:03 +00:00
Robert Ransom
e9d6735a9d sort: Move lines and nlines globals into a struct 2012-05-21 20:09:44 +00:00
Robert Ransom
7565af0e31 sort: Return 2 on usage error 2012-05-20 14:38:52 +00:00
Robert Ransom
c0f60a6f3d nl: Return 2 on usage error 2012-05-20 12:57:58 +00:00
Robert Ransom
572dcc2b83 util/estrtol: Also check for out-of-range values using errno 2012-05-20 12:51:18 +00:00
Robert Ransom
c77ea0210b Make Makefile possibly POSIX-conformant
FreeBSD make still refuses to handle the ".o:" 'single-suffix inference rule'.
2012-05-16 12:14:02 +00:00
Connor Lane Smith
7c121e189e test: eprintf in usage 2012-05-15 13:34:32 +01:00
Connor Lane Smith
fcb8821246 revert to per-cmd usage() 2012-05-15 13:32:56 +01:00
Connor Lane Smith
f3188246d8 cksum: ARGBEGIN, no buffering 2012-05-14 21:30:02 +01:00
Connor Lane Smith
146cca114e new ARGBEGIN & usage() function 2012-05-14 21:28:41 +01:00
Connor Lane Smith
f1259218f2 test: more efficient -e flag 2012-05-14 13:33:07 +01:00
Connor Lane Smith
1360f568bb grep: better regerror message 2012-05-12 18:01:27 +01:00
Connor Lane Smith
cd73d1b330 grep: check regcomp succeeds 2012-05-12 17:54:36 +01:00
Connor Lane Smith
6e0f5c1409 seq: some cleanup 2012-05-10 19:20:16 +01:00
Robert Ransom
c018f86fc7 Add -u option to date (POSIX and Plan 9, and useful) 2012-04-23 08:32:24 -07:00
Christoph Lohmann
3863ccdf98 Testing before rage. Suffix is fixed in basename. 2012-04-23 16:34:34 +02:00
Christoph Lohmann
3817f78f87 Moving back to the stone age. 2012-04-23 16:32:41 +02:00
Christoph Lohmann
120d817920 Adding the yes(1) command. 2012-04-23 16:27:40 +02:00
Christoph Lohmann
f75d7a47ff Adding ARGBEGIN for basename. 2012-04-23 15:50:47 +02:00
Christoph Lohmann
96b15a5afa Fixing validfmt and optimizing the algorithm. (Thanks David Galos) 2012-04-18 13:41:05 +02:00
Christoph Lohmann
dbe8e73237 I'm sorry for my unprofessional behaviour. 2012-04-16 21:48:50 +02:00
Christoph Lohmann
29ce2560a7 Fixes and checks for seq. Thanks David Galos! 2012-04-16 21:46:59 +02:00
Christoph Lohmann
d512d7938e Adding a manpage for seq(1). 2012-04-11 18:59:33 +02:00
Christoph Lohmann
e8d6e30106 Adding seq command. 2012-04-10 17:33:19 +02:00
Kurt H Maier
ff96728bdd test: fix compiler warning 2012-04-06 23:37:36 -04:00
Kurt H Maier
88760789c7 update TODO 2012-02-04 01:16:18 +00:00
William Haddon
cec53d14b1 implement cp and mv and improve rm 2012-01-30 22:41:33 +00:00
anonymous
4192b13768 ls: allocate proper space for args 2012-01-19 00:04:04 +00:00
Connor Lane Smith
cb291cc394 add test.c (thanks Random832) 2011-11-08 19:35:38 +01:00
Connor Lane Smith
4104affcbd path_max not useful 2011-06-25 18:49:32 +01:00
Connor Lane Smith
9658c7cfa7 apathmax fix 2011-06-25 17:33:38 +01:00
Connor Lane Smith
33de3bffdb apathmax 2011-06-25 17:26:44 +01:00
Connor Lane Smith
572f5e926c simpler nohup 2011-06-24 08:33:08 +01:00
Connor Lane Smith
a051bab859 enmasse: check filename length 2011-06-23 02:08:41 +01:00
Connor Lane Smith
807d45aa80 ln: try link first 2011-06-22 23:45:03 +01:00
Connor Lane Smith
2835d9ecda enmasse same file check 2011-06-22 23:04:56 +01:00
Connor Lane Smith
d7f9bda740 cc -Wextra 2011-06-21 05:05:37 +01:00
Connor Lane Smith
04162bd7b0 kill: accept $? values 2011-06-21 04:56:16 +01:00