Eric Andersen
98bbd688a8
Commit the rewrite of tail by Allen Soard
...
<esp-software@mail.hypermart.net>. Thanks Allen for
you work at getting this into shape,
-Erik
2000-07-31 17:05:58 +00:00
Pavel Roskin
43c17b3d96
New variable WARNINGS to hold all warning options
2000-07-28 19:41:32 +00:00
Pavel Roskin
616d13bcd1
Fixed to pass -Wundef
2000-07-28 19:38:27 +00:00
Pavel Roskin
259972e565
Disabled debugging output
...
Fine-grained checks for possible errors instead of "set -e"
The standard output shows what is being linked to what
2000-07-28 19:34:02 +00:00
Eric Andersen
9cf306d55e
Fix for a potential uninitialized variable, thx to
...
Ken Chalmers <chalmers@norscan.com>
-Erik
2000-07-28 19:05:20 +00:00
Eric Andersen
6a4c33c5c0
Clean up the nasty blunder I'd made of how different behaviors happen.
...
-Erik
2000-07-28 17:08:36 +00:00
Eric Andersen
6150df320a
Some cleanups, based on a patch from Ken Chalmers
...
-Erik
2000-07-28 16:22:51 +00:00
Eric Andersen
d5704686b1
Fix from Robert Kaiser for stdin behavior.
...
-Erik
2000-07-28 15:20:24 +00:00
Eric Andersen
1428c4f136
Oops. Forgot an ifdef
...
-Erik
2000-07-28 15:19:30 +00:00
Eric Andersen
a5716d3029
Fix from Arne Bernin for return code -- now reflects whether the rmmod
...
failed or not.
-Erik
2000-07-28 15:16:37 +00:00
Eric Andersen
501c88b245
More sh updates (with related changes to everything else). Switched
...
to using getopt and cleaned up the resulting mess. if-then-else-fi
is now basically working (given a bunch of constraints).
-Erik
2000-07-28 15:14:45 +00:00
Eric Andersen
6a99aaf020
More shell features.... if-then-else-fi is now basically usable (disable
...
by default pending further debugging). Added in some basic shell environment
support (i.e. $?, $0-$9, $$, $!, $#).
-Erik
2000-07-27 00:15:20 +00:00
Mark Whitley
7ce41ad692
Fixed a syntax error & superfluous param decl that was causing the build to
...
fail.
2000-07-26 18:09:22 +00:00
Eric Andersen
e92108ae6d
Minor style cleanups.
2000-07-26 00:53:56 +00:00
Eric Andersen
0d49dd53cf
Better description
2000-07-26 00:53:34 +00:00
Eric Andersen
cc10a5b42b
Fix some bitrot.
...
-Erik
2000-07-26 00:52:04 +00:00
Mark Whitley
83e85f6a08
Modified print_subst_w_backrefs() so it will print backslash escaped
...
characters properly, just like GNU sed.
2000-07-25 20:48:44 +00:00
Mark Whitley
52681b48dc
Added a note in the "Tips and Pointer" section on the correct way to test for
...
string equivalence with strcmp().
2000-07-25 20:30:00 +00:00
Eric Andersen
fad9c1198a
Finish off fixing up the memleaks (I think). Added the beginnings of
...
some if-then-else-fi support (nonfunctional and turned off)
-Erik
2000-07-25 18:06:52 +00:00
Eric Andersen
b040d4f3da
Use BB_FEATURE_CLEAN_UP where appropriate
...
-Erik
2000-07-25 18:01:20 +00:00
Eric Andersen
b9ea02c04b
Add in BB_FEATURE_CLEAN_UP, which is whether to clean up mem leaks and close
...
files, or not. Usually safe to leave it off and let the OS clean up...
-Erik
2000-07-25 17:59:37 +00:00
Eric Andersen
d34595d857
Remove some noise.
...
-Erik
2000-07-25 17:58:01 +00:00
Eric Andersen
e5db406690
Clean up $1=$prefix
...
-Erik
2000-07-25 16:47:03 +00:00
Mark Whitley
40bfc76385
First revision of the Busybox Style Guide and an accompanying .indent.pro
...
file.
2000-07-24 22:36:06 +00:00
Pavel Roskin
e99f7500e0
chroot can now call the builtin shell
2000-07-24 20:15:30 +00:00
Eric Andersen
ea824fb937
Fixed stdin/stdout paths so things like
...
tar cvf - /etc/* | gzip -c9 >test.tgz
will now work. Fix thanks to Dave Cinege <dcinege@psychosis.com>
with some adjustments by me to be mroe GNU-like.
-Erik
2000-07-21 22:17:39 +00:00
Eric Andersen
bf960f58e2
Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
...
-Erik
2000-07-21 21:32:12 +00:00
Eric Andersen
7df345e149
Bump version number.
...
-Erik
2000-07-21 21:27:11 +00:00
Eric Andersen
ec8d60f0f8
Add in the LinuxMagic VPN Firewall
...
-Erik
2000-07-21 17:22:19 +00:00
Pavel Roskin
0010ee45e3
Fixed usage info for "cut"
2000-07-21 15:10:57 +00:00
Mark Whitley
c768ab490e
Took -V out of the sed_usage string.
2000-07-20 23:54:42 +00:00
Eric Andersen
ced2cefcca
* syslogd can now log messages to a remote host -- patch thanks
...
to Gyepi Sam <gyepi@praxis-sw.com>
-Erik
2000-07-20 23:41:24 +00:00
Mark Whitley
1f45b268cb
As per a discussion on the mailing list between Matt and Pavel. I have removed
...
the -V (version) flag from busybox sed. It is unnecessary because sed is not a
standalone and should therefore be independently reporting a version number.
Moreover, it is extra code that we just don't need.
2000-07-20 23:08:40 +00:00
Mark Whitley
1ac435c15e
Converted option parsing to getopt(). Also added some explanatory comments.
2000-07-20 23:06:27 +00:00
Eric Andersen
51154bacbe
Adjusted install.sh to use relative symlinks, and to optionally
...
create hardlinks. Added a makefile target to create hardlinks.
-Erik
2000-07-20 21:57:11 +00:00
Mark Whitley
3950596e1e
Converted option parsing to using getopt(). Also managed to remove an
...
extraneous logic loop that existed only for the purpose of the special case of
only one file. I replaced it with a variable to keep track of the number of
files read.
2000-07-20 00:08:10 +00:00
Mark Whitley
99e370f0c6
Whoops. Forgot to #include <getopt.h>.
2000-07-20 00:03:38 +00:00
Mark Whitley
aa4f108338
Converted option parsing to getopt() and made some minor formatting changes.
2000-07-19 19:38:13 +00:00
Matt Kraai
27a804246a
Centralize handling of --help.
2000-07-19 19:24:01 +00:00
Matt Kraai
869057238b
Added some missing declarations and fixed some typos. I have to
...
remember to compile *before* committing.
2000-07-19 18:20:02 +00:00
Matt Kraai
2f46b664b7
Add usage messages for applets without them.
2000-07-19 18:01:00 +00:00
Eric Andersen
91a4400fd5
Avoid trying to free NULL ptrs. Comment on malloc usages.
...
-Erik
2000-07-19 17:37:57 +00:00
Eric Andersen
a16c66335e
Use FatalError()
...
-Erik
2000-07-19 17:36:27 +00:00
Eric Andersen
ae6eae02dd
Moved some code and add a coupld #defines to support use of dmalloc.
...
-Erik
2000-07-19 17:35:54 +00:00
Eric Andersen
52d6fa3bb3
Funny. Head was getting installed to the wrong spot.
...
-Erik
2000-07-19 17:34:40 +00:00
Eric Andersen
1d255be78d
Updated to add support for dmalloc, and adjusted for better cross
...
compiler support.
-Erik
2000-07-19 17:33:54 +00:00
Mark Whitley
2ef880b236
Consolodated some common code into print_matched_line to make 'grep_file' a
...
little more terse & clean. Also made a few minor formatting changes.
2000-07-18 21:02:06 +00:00
Eric Andersen
a9d69fb568
Removed now incorrect message about NFS not working with
...
Linux 2.[34].x kernels. It does work now,
-Erik
2000-07-18 18:54:08 +00:00
Mark Whitley
8f122431f5
Added support for the -c (count matches) option. Made it so it works just like
...
GNU grep.
2000-07-18 18:37:01 +00:00
Eric Andersen
6efc48c1ae
Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.
...
-Erik
2000-07-18 08:16:39 +00:00