30b47df86b
Small fix for sed 'y' command
2003-03-30 08:40:09 +00:00
f01b46d7dd
sed 'y' command, simplify some other code
2003-03-30 08:02:18 +00:00
0c51832b60
Experimental support for embeded newline. (im evil)
...
Fix segfault when using 'N' with an odd number of lines.
2003-03-30 03:41:53 +00:00
b5b5ac3237
trivial fix to make sure we have sufficient arguments before
...
we mess with a possibly non-existant argv[1]
-Erik
2003-03-28 16:54:14 +00:00
a0f0f0cf76
Still fine tunning the printing of the substitute command
2003-03-28 14:11:34 +00:00
595a6a4199
sed 't' branching command
2003-03-28 08:36:52 +00:00
ccd43a8301
Fix sed 's' command's 'p' flag, so it can print line twice
2003-03-28 07:44:03 +00:00
b08e3e8c2e
fix q command
2003-03-28 04:57:52 +00:00
961c6c19da
Add basic branching support, sed ':' and 'b' commands
2003-03-28 04:43:39 +00:00
56c633c139
make sed cleanup use linked list
2003-03-28 04:23:23 +00:00
c949bfa555
Use a linked list for sed commands in preparation for branching support
2003-03-28 03:53:31 +00:00
3a9b0bf0ba
Oops... had != but meant ==.
2003-03-23 20:27:33 +00:00
4baef0c77f
Minor cleanups. Document the cmp -l option.
2003-03-19 18:40:42 +00:00
ea4c43445c
Restrict octal perms to <= 07777. Cosmetic error message change.
2003-03-19 18:09:03 +00:00
1cb1b64c35
Obligatory forgotten item.
2003-03-19 09:42:33 +00:00
4eff18189a
Things my compiler didn't catch...
2003-03-19 09:42:02 +00:00
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
e01f9662a5
Match newlines, this fixes matching of ^ or $ when there is a '\n' in the pattern being matched. This fixes cases when the N command is used.
2003-03-18 08:37:57 +00:00
2971ef1730
Fix a bug that corrupted the string followed commands that had no arguments ( Closes #1304 )
2003-03-18 01:19:23 +00:00
737f5fb890
Patch from Jonas Holmberg, adjusted by Robert Schwebel, and
...
later re-adjusted by me to fix msh backtick handling
2003-03-14 16:05:59 +00:00
d2b8118650
oops. args shuffled.
2003-03-13 20:54:26 +00:00
c3b2dbec8c
Fix obviously wrong names from older busybox
2003-03-13 18:57:08 +00:00
92b7e7baa1
Patch from Tito Ragusa:
...
The changes I've made: in strings.c:
1) fix memory allocation error I've detected with MALLOC_CHECK_=1 in *string;
2) code clean up;
3) fix compiler warnings about uninitialized vars;
2003-03-13 18:49:45 +00:00
3f1cf455a0
cope with crappy windoze ftp servers
2003-03-11 18:03:39 +00:00
e68afefe56
Avoid potential rendering problems
2003-03-10 17:21:46 +00:00
4157a8a71e
fix n, add N, P
2003-03-10 04:12:35 +00:00
ff724fb076
add the 'n' command
2003-03-10 02:56:56 +00:00
bed4033e96
Add the q (quit) option
2003-03-10 02:21:14 +00:00
f3bd7c4631
Fix a delimiter matching bug i introduced.
2003-03-09 15:40:40 +00:00
f50ce3135f
Support grouped commands, i.e. {cmd1;cmd2}
2003-03-09 15:12:24 +00:00
4c6523a90b
alloc array for commands, use string ptr in parse_command_string()
2003-03-09 11:06:38 +00:00
e7a8bc949b
use typedef for struct sed_cmd
2003-03-09 10:23:57 +00:00
1fb446795d
redo get_addres(). save some space. possible fix a bug where the command might be set to 0 if no second address is given. dont parse sed_cmd struct to get_address, we only need the delim field.
2003-03-09 08:44:49 +00:00
2f8a401772
Woops, remove the code i didnt mean to commit
2003-03-09 02:44:49 +00:00
d5eadea970
Mention the opengroup sed reference, add a check which is disabled at present.
2003-03-09 02:39:29 +00:00
505bd0f15a
Fix matching for the $ address (last line)
2003-03-08 05:21:02 +00:00
77831c11d1
be more careful about cleaning up
2003-03-07 18:09:06 +00:00
3719e9e790
Scrub things a bit, shave off a few bytes.
...
-Erik
2003-03-07 18:03:02 +00:00
1bc5fa8c0c
Save a few bytes and remove a redundant string
2003-03-07 17:59:32 +00:00
6067c08145
With nightmares of libbb ending up with 100 .c files starting
...
with "bb_" it seems best to rename this now and avoid starting
an evil KDE style naming trend.
2003-03-07 17:43:32 +00:00
2afcbe436f
audit for proper error handling, apply a few size optimizations
...
-Erik
2003-03-07 17:33:40 +00:00
a9c6bc41e9
Define bb_xgetlarg as a standard interface for extracting
...
numbers from getopt which includes careful error checking.
-Erik
2003-03-07 17:29:12 +00:00
bae7c1ac24
Explicitly define -DNDEBUG so asserts don't clutter release code
2003-03-07 17:27:51 +00:00
08f4a4c508
Add all the syslogd help text
2003-02-28 07:20:55 +00:00
5ef448285b
There is no good reason to prevent nfs mounts from being mounted
...
during 'mount -a'. If the user wants to do that, hey, its their
lifs. If the nfs server is down and they don't want to wait for
nfs to time out, that is their problem.
-Erik
2003-02-28 06:29:27 +00:00
a0ac4523b1
Write all the help text for the util-linux utilities. Allow
...
people to locate the mtab file somewhere other that /etc to
accomodate read only root filesystems.
-Erik
2003-02-27 03:14:04 +00:00
ee6da5527c
mention "katamaran"
2003-02-18 20:17:30 +00:00
008c01915b
Fix for big endian machines
2003-02-17 12:18:16 +00:00
ae0f1e7052
New applet sha1sum
2003-02-17 08:23:22 +00:00
4a4c677fcc
Patch from Bastian Blank
...
- ip route flush
- different usage for telnetd in inetd mode
- changes for the default flags of the ip features
- if no /usr requested, udhcpc should use the script also without /usr.
2003-02-15 11:50:33 +00:00