oweals/busybox.git
21 years agoOops.
Eric Andersen [Thu, 26 Jun 2003 18:01:43 +0000 (18:01 -0000)]
Oops.

21 years agolast_patch91 from vodz to convert tar to use bb_getopt_ulflags
Eric Andersen [Thu, 26 Jun 2003 09:07:59 +0000 (09:07 -0000)]
last_patch91 from vodz to convert tar to use bb_getopt_ulflags

21 years agoGeir Thomassen wrote, regarding networking/httpd.c line 1358
Eric Andersen [Thu, 26 Jun 2003 09:05:32 +0000 (09:05 -0000)]
Geir Thomassen wrote, regarding networking/httpd.c line 1358

    Hello, I think the test for an unconfigured httpd is wrong in
    the CVS (busybox-unstable-20030620.tar.bz2)

    flg_deny_all is default 0

vodz then wrote:

    Oops. You are right.
    Also, this mistake haved from two place.
    Last patch rewroted to my new get_ularg() function for overcompensate size
    from this error found ;-)

21 years agoPer patch from Nick Fedchik, use SHADOW_FILE, not "/etc/shadow".
Eric Andersen [Thu, 26 Jun 2003 08:53:49 +0000 (08:53 -0000)]
Per patch from Nick Fedchik, use SHADOW_FILE, not "/etc/shadow".
Change fopen to bb_xfopen

21 years agoOops. As Andrew Dennison just noticed, I left a stray
Eric Andersen [Wed, 25 Jun 2003 05:18:48 +0000 (05:18 -0000)]
Oops.  As Andrew Dennison just noticed, I left a stray
space in the Makefile, thereby totally breaking it.

21 years agoRegenerate the busybox.links file when the .config changes
Eric Andersen [Wed, 25 Jun 2003 03:26:04 +0000 (03:26 -0000)]
Regenerate the busybox.links file when the .config changes

21 years agoNew applet: patch, applies a unified diff
Glenn L McGrath [Sun, 22 Jun 2003 15:32:41 +0000 (15:32 -0000)]
New applet: patch, applies a unified diff

21 years agoSave a few bytes by using bb_getopt_ulflags and a few other minor
Glenn L McGrath [Sun, 22 Jun 2003 06:59:34 +0000 (06:59 -0000)]
Save a few bytes by using bb_getopt_ulflags and a few other minor
improvments

21 years agoBased on a tinylogin patch from Philip Blundell, add several
Eric Andersen [Sat, 21 Jun 2003 20:03:07 +0000 (20:03 -0000)]
Based on a tinylogin patch from Philip Blundell, add several
additional options to adduser.
 -Erik

21 years agoFix a silly bug I introduced yesterday
Eric Andersen [Sat, 21 Jun 2003 09:05:49 +0000 (09:05 -0000)]
Fix a silly bug I introduced yesterday

21 years agoFixup whitespace handing, fixing some annoying behavior and
Eric Andersen [Fri, 20 Jun 2003 10:02:29 +0000 (10:02 -0000)]
Fixup whitespace handing, fixing some annoying behavior and
a couple of segfaults

21 years agoFall back to looking in /lib/modules/modules.dep if
Eric Andersen [Fri, 20 Jun 2003 09:57:30 +0000 (09:57 -0000)]
Fall back to looking in /lib/modules/modules.dep if
/lib/modules/<kernel version>/modules.dep is missing

21 years agoPatch from Andrew Dennison:
Eric Andersen [Fri, 20 Jun 2003 09:56:37 +0000 (09:56 -0000)]
Patch from Andrew Dennison:

I've had some issues with modprobe which I reported a few months ago. This
is still an issue so I decided to sort it out.

The attached diff includes the changes against the unstable cvs tree that
work for me.

Changes are:
mod_process() will report success if the module at the head of the list
loads successfully. It will also report success if any module unloads
successfully.
The net result being that modprobe will succeed in the cases outlined below.
I've also added error reporting to modprobe -r. Previously it would silently
fail (but report success) if the module could not be unloaded.

Andrew

21 years agoSomewhere in the 2.4.x kernel series, /proc/mounts was changed to display a
Eric Andersen [Fri, 20 Jun 2003 09:36:49 +0000 (09:36 -0000)]
Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display a
"rootfs" entry as well as the traditional "/dev/root" entry.  This caused
applets such as mount and df to display two root filesystem entries....

This teaches the relevant utilities to ignore the "rootfs" entry.
 -Erik

21 years agoDon't shadow a paramater
Eric Andersen [Fri, 20 Jun 2003 09:25:34 +0000 (09:25 -0000)]
Don't shadow a paramater

21 years agoFix a couple vars that could be used uninitialized
Eric Andersen [Fri, 20 Jun 2003 09:23:34 +0000 (09:23 -0000)]
Fix a couple vars that could be used uninitialized

21 years agouse an explicit cast on some types that change size when
Eric Andersen [Fri, 20 Jun 2003 09:22:12 +0000 (09:22 -0000)]
use an explicit cast on some types that change size when
large file support is enabled.

21 years agoMake gcc not whine about "deprecated use of label at end of compound statement"
Eric Andersen [Fri, 20 Jun 2003 09:20:28 +0000 (09:20 -0000)]
Make gcc not whine about "deprecated use of label at end of compound statement"

21 years agoAdd prototype update missing from last_patch89. Fix screwy
Eric Andersen [Fri, 20 Jun 2003 09:16:00 +0000 (09:16 -0000)]
Add prototype update missing from last_patch89.  Fix screwy
formatting in cut.

21 years agoPatch from Lars Kellogg-Stedman:
Eric Andersen [Fri, 20 Jun 2003 09:05:00 +0000 (09:05 -0000)]
Patch from Lars Kellogg-Stedman:

I'm building BusyBox using a development kit for MontaVista Hardhat Linux
(PPC) -- which, at least in this instance, is based around kernel 2.2.14.
I've had to massage a few files in networking/libiproute/ to make it
compile.  Specifically:

  (1) Added a #include <sys/uio.h> for the iovec structure in
      libnetlink.c,

  (2) Put ifdefs in ll_types.c and ll_proto.c around various
      constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined,

  (3) Make do_changename() in iplink.c require a kernel >=
      2.4.0 -- the ifr structure in my environment doesn't
      have the ifr_name attribute.  I've assumed this is
      a kernel dependency -- let me know if I ought to be
      checking something else.

      In the absence of the correct kernel, do_changename()
      always returns 0.

Attached is a patch against the current CVS that will make these changes.

-- Lars

21 years agolast_patch89 from vodz:
Eric Andersen [Fri, 20 Jun 2003 09:01:58 +0000 (09:01 -0000)]
last_patch89 from vodz:

    Manuel,

    I rewrite bb_getopt_ulflags() function for more universal usage.
    My version support now:
    - options with arguments (optional arg as GNU extension also)
    - complementaly and/or incomplementaly and/or incongruously and/or list
    options
    - long_opt (all applets may have long option, add supporting is trivial)
    This realisation full compatibile from your version.
    Code size grow 480 bytes, but only coreutils/* over compensate this size
    after using new function. Last patch reduced over 800 bytes and not full
    applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate
    trivial addition support long_opt with usage new bb_getopt_ulflags().
    Complementaly and/or incomplementaly and/or incongruously and/or list options
    logic is not trivial, but new "cut" and "grep" applets using this logic
    for examples with full demostrating. New "grep" applet reduced over 300
    bytes.

    Mark,
    Also. I removed bug from "grep" applet.
    $ echo a b | busybox grep -e a b
    a b
    a b
    But right is printing one only.

    --w
    vodz

21 years agoFix rpm usage msg
Eric Andersen [Sun, 15 Jun 2003 07:00:54 +0000 (07:00 -0000)]
Fix rpm usage msg

21 years agoAdd missing pieces from vodz' last_patch88
Eric Andersen [Sat, 14 Jun 2003 02:57:53 +0000 (02:57 -0000)]
Add missing pieces from vodz' last_patch88

21 years agoFix the location for the default config so 'make defconfig'
Eric Andersen [Thu, 12 Jun 2003 22:09:08 +0000 (22:09 -0000)]
Fix the location for the default config so 'make defconfig'
actually works

21 years agoHandle hard links by converting them to symlinks
Glenn L McGrath [Thu, 12 Jun 2003 13:47:16 +0000 (13:47 -0000)]
Handle hard links by converting them to symlinks

21 years agoVodz, last_patch_88
Glenn L McGrath [Tue, 10 Jun 2003 17:22:49 +0000 (17:22 -0000)]
Vodz, last_patch_88

21 years agosha1sum option to compare checksums
Glenn L McGrath [Sun, 8 Jun 2003 13:32:12 +0000 (13:32 -0000)]
sha1sum option to compare checksums

21 years agoBetter error handling
Glenn L McGrath [Sat, 7 Jun 2003 17:38:33 +0000 (17:38 -0000)]
Better error handling

21 years agoMinor correction
Glenn L McGrath [Sat, 7 Jun 2003 17:11:00 +0000 (17:11 -0000)]
Minor correction

21 years agoFix bug (wrong value computed) when reading file from stdin, implement
Glenn L McGrath [Sat, 7 Jun 2003 17:06:28 +0000 (17:06 -0000)]
Fix bug (wrong value computed) when reading file from stdin, implement
-s option

21 years agoRun through indent
Glenn L McGrath [Sat, 7 Jun 2003 14:54:24 +0000 (14:54 -0000)]
Run through indent

21 years agoPatch from Lars Kellogg-Stedman, lars at larsshack.org, to
Eric Andersen [Thu, 5 Jun 2003 19:37:01 +0000 (19:37 -0000)]
Patch from Lars Kellogg-Stedman, lars at larsshack.org, to
make ifupdown's mapping function work as documented.

21 years agoPut this back the way it was. I misunderstood what vodz was doing.
Eric Andersen [Tue, 27 May 2003 20:45:59 +0000 (20:45 -0000)]
Put this back the way it was.  I misunderstood what vodz was doing.

21 years agoMake all syscall declarations use the syscall() function
Eric Andersen [Mon, 26 May 2003 18:48:56 +0000 (18:48 -0000)]
Make all syscall declarations use the syscall() function

21 years agoThis was doing some silly stuff that is not necessary when using
Eric Andersen [Mon, 26 May 2003 18:12:00 +0000 (18:12 -0000)]
This was doing some silly stuff that is not necessary when using
vfork(), so I have simplified it.

21 years agocleanup a bit to remove needless verify() function
Eric Andersen [Mon, 26 May 2003 18:09:14 +0000 (18:09 -0000)]
cleanup a bit to remove needless verify() function

21 years agoSkip printing "/proc/%d/cmdline" stuff when it is not relevant
Eric Andersen [Mon, 26 May 2003 18:07:30 +0000 (18:07 -0000)]
Skip printing "/proc/%d/cmdline" stuff when it is not relevant

21 years agoRemove cruft
Eric Andersen [Mon, 26 May 2003 18:06:20 +0000 (18:06 -0000)]
Remove cruft

21 years agoVodz, last_path_87, formatiing changes
Glenn L McGrath [Mon, 26 May 2003 14:09:12 +0000 (14:09 -0000)]
Vodz, last_path_87, formatiing changes

21 years agoVodz, last_patch_86
Glenn L McGrath [Mon, 26 May 2003 14:07:50 +0000 (14:07 -0000)]
Vodz, last_patch_86

21 years agoUpdate mkdep, per the "touchless dependencies for 2.4.x" patch
Eric Andersen [Sat, 24 May 2003 07:30:58 +0000 (07:30 -0000)]
Update mkdep, per the "touchless dependencies for 2.4.x" patch
from Geert Uytterhoeven posted to the lkml.
 -Erik

21 years agooops
Eric Andersen [Fri, 23 May 2003 09:29:57 +0000 (09:29 -0000)]
oops

21 years agoThis patch from Vitezslav Batrla, is a cleaner fix for the
Eric Andersen [Fri, 23 May 2003 09:28:01 +0000 (09:28 -0000)]
This patch from Vitezslav Batrla, is a cleaner fix for the
problem with syslogd logging the '<' char.

21 years agoPatch from Russell Coker:
Eric Andersen [Thu, 22 May 2003 07:10:22 +0000 (07:10 -0000)]
Patch from Russell Coker:

The attached patch fixes a compilation error.  If you compile ping6 without
the CONFIG_FEATURE_FANCY_PING6 option then the compile will fail without this
patch.

21 years agoPatch from Glenn Engel
Glenn L McGrath [Mon, 19 May 2003 05:56:16 +0000 (05:56 -0000)]
Patch from Glenn Engel
- more comments
- larger allowed number of CGI script variables
- ifdefs for regression test hooks
- default to ./ rather than /www (if unspecified) for compatibility with
earlier versions.
- Allow ip: as a synomym for A: rules for compatibility with earlier
versions.
- Setting of CGI_ARGLIST_  when automatic setting of env vars for form
scripting is utilized.  This helps with minimal systems like openap.

21 years agoHandle -O preceding -x.
Matt Kraai [Sun, 18 May 2003 21:12:36 +0000 (21:12 -0000)]
Handle -O preceding -x.

21 years agoApply patch from Georg Magschok to fix syslog behavior so that the
Eric Andersen [Fri, 16 May 2003 08:35:02 +0000 (08:35 -0000)]
Apply patch from Georg Magschok to fix syslog behavior so that the
'>' charactor can be logged, per rfc3164.

Also, a small patch from me to fix it so we use MAXLINE when allocating the
buffer, which is consistant with use everywhere else.  This is needed since
uClibc defines BUFSIZE as 255, causing lines to be truncated at 255...

21 years agoPart of a patch from Glenn Engel, updates httpd help
Glenn L McGrath [Wed, 14 May 2003 12:20:21 +0000 (12:20 -0000)]
Part of a patch from Glenn Engel, updates httpd help

21 years agovodz, last_patch_85
Glenn L McGrath [Wed, 14 May 2003 12:11:36 +0000 (12:11 -0000)]
vodz, last_patch_85

21 years agoRe-use existing variables, patch from Tito
Glenn L McGrath [Tue, 13 May 2003 16:31:15 +0000 (16:31 -0000)]
Re-use existing variables, patch from Tito

21 years agolast_patch84 by Vodz.
Glenn L McGrath [Tue, 13 May 2003 16:20:11 +0000 (16:20 -0000)]
last_patch84 by Vodz.

21 years agoAdd some missing lines for getty, patch by Steven Scholz
Glenn L McGrath [Tue, 13 May 2003 14:59:07 +0000 (14:59 -0000)]
Add some missing lines for getty, patch by Steven Scholz

21 years agoFix \l so it doesnt print the character as well as the tty, from old
Glenn L McGrath [Tue, 13 May 2003 13:28:25 +0000 (13:28 -0000)]
Fix \l so it doesnt print the character as well as the tty, from old
patch by Nick Fedchik

21 years agominit, a Minimal init system.
Glenn L McGrath [Sun, 11 May 2003 14:52:39 +0000 (14:52 -0000)]
minit, a Minimal init system.

21 years agoUse xopen instead of xfopen
Glenn L McGrath [Thu, 8 May 2003 13:09:28 +0000 (13:09 -0000)]
Use xopen instead of xfopen

21 years agoPatch from Dmitry V. Levin to fix a fd leak
Eric Andersen [Fri, 2 May 2003 16:25:01 +0000 (16:25 -0000)]
Patch from Dmitry V. Levin to fix a fd leak

21 years agoA couple of patches from Tito <farmatito@tiscali.it>
Eric Andersen [Sun, 27 Apr 2003 10:42:31 +0000 (10:42 -0000)]
A couple of patches from Tito <farmatito@tiscali.it>

21 years agoUse bb_xgetlarg
Glenn L McGrath [Sun, 27 Apr 2003 10:05:35 +0000 (10:05 -0000)]
Use bb_xgetlarg

21 years agoNew applet, fold
Glenn L McGrath [Sun, 27 Apr 2003 06:02:14 +0000 (06:02 -0000)]
New applet, fold

21 years agoConfig option to create an fgrep alias
Glenn L McGrath [Sun, 27 Apr 2003 02:43:54 +0000 (02:43 -0000)]
Config option to create an fgrep alias

21 years agoFix segfault when cleaning up
Glenn L McGrath [Sun, 27 Apr 2003 02:22:01 +0000 (02:22 -0000)]
Fix segfault when cleaning up

21 years agogrep -f support, adds only 60 Bytes, but regex's now compiled as
Glenn L McGrath [Sun, 27 Apr 2003 01:50:57 +0000 (01:50 -0000)]
grep -f support, adds only 60 Bytes, but regex's now compiled as
required, rather than being pre-compiled.

21 years agoAlways preserve date
Glenn L McGrath [Sat, 26 Apr 2003 13:16:44 +0000 (13:16 -0000)]
Always preserve date

21 years agoNew commands, 'G' and 'H'
Glenn L McGrath [Sat, 26 Apr 2003 07:40:07 +0000 (07:40 -0000)]
New commands, 'G' and 'H'

21 years agoAdd the -d option, its used by old versions of config.guess, change to
Glenn L McGrath [Sat, 26 Apr 2003 04:56:17 +0000 (04:56 -0000)]
Add the -d option, its used by old versions of config.guess, change to
use getopt.

21 years agoiPatch from waldi, fixes usage of ip route flush (from)? (match|exact)
Glenn L McGrath [Sat, 26 Apr 2003 02:22:19 +0000 (02:22 -0000)]
iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)

21 years agoPatch from Steven Scholz to fix telnetd compile problem
Eric Andersen [Fri, 25 Apr 2003 12:32:37 +0000 (12:32 -0000)]
Patch from Steven Scholz to fix telnetd compile problem

21 years agoThere have been many reports of init failing to reboot and/or failing to halt
Eric Andersen [Thu, 24 Apr 2003 11:41:28 +0000 (11:41 -0000)]
There have been many reports of init failing to reboot and/or failing to halt
over the years.  Well I finally took the time to track this down.  It turns out
that inside linux/kernel/sys.c the kernel will call
    machine_halt();
    do_exit(0);
when halting, or will call
    machine_power_off();
    do_exit(0);

during a reboot.  Unlike sysv init, we call reboot from within the init
process, so if the call to machine_halt() or machine_power_off() returns,                                       the call to do_exit(0) will cause the kernel to panic.  Which is a very
bad thing to happen.

So I just added this little patch to fork and call the reboot
syscall from within the forked child process, thereby neatly
avoiding the problem.

But IMHO, both calls to do_exit(0) within linux/kernel/sys.c
are bugs and should be fixed.

 -Erik

21 years agounlink a previous file before its extracted
Glenn L McGrath [Mon, 21 Apr 2003 11:03:29 +0000 (11:03 -0000)]
unlink a previous file before its extracted

21 years agosync with waldi
Glenn L McGrath [Mon, 21 Apr 2003 10:26:39 +0000 (10:26 -0000)]
sync with waldi

21 years agounlink() an existing file, before opening it, simply truncating can
Glenn L McGrath [Mon, 21 Apr 2003 10:07:48 +0000 (10:07 -0000)]
unlink() an existing file, before opening it, simply truncating can
cause nasty problems if overwriting glibc, spotted by waldi.

21 years agoAdd link to SimplyGNUstep
Eric Andersen [Mon, 21 Apr 2003 03:34:01 +0000 (03:34 -0000)]
Add link to SimplyGNUstep

21 years agoPatch from David Updegraff to use calloc so that forward pointers start out
Eric Andersen [Sat, 19 Apr 2003 23:18:35 +0000 (23:18 -0000)]
Patch from David Updegraff to  use calloc so that forward pointers start out
NULL, and so it can handle format strings that have stuff _after_ the last %?
specification

21 years agoPatch from David Updegraff to avoid corrupting memory while parsing the
Eric Andersen [Sat, 19 Apr 2003 23:15:06 +0000 (23:15 -0000)]
Patch from David Updegraff to avoid corrupting memory while parsing the
networks/iterfaces file with next_word routine.  Without this, next_word
increments one beyond the end of the string.

21 years agoMinor .o file naming change
Eric Andersen [Wed, 16 Apr 2003 23:02:35 +0000 (23:02 -0000)]
Minor .o file naming change

21 years agoenable CONFIG_USE_BB_PWD_GRP for the debian installer,
Eric Andersen [Wed, 16 Apr 2003 20:52:01 +0000 (20:52 -0000)]
enable CONFIG_USE_BB_PWD_GRP for the debian installer,
to prevent glibc from trying and failing to use NSS junk
that is not present.
 -Erik

21 years agoFix logic error in grouped commands
Glenn L McGrath [Sat, 12 Apr 2003 16:10:42 +0000 (16:10 -0000)]
Fix logic error in grouped commands

21 years agoFix up indenting
Glenn L McGrath [Fri, 11 Apr 2003 17:10:23 +0000 (17:10 -0000)]
Fix up indenting

21 years agoReally fix the 'r' command
Glenn L McGrath [Wed, 9 Apr 2003 15:52:32 +0000 (15:52 -0000)]
Really fix the 'r' command

21 years agoFix the sed 'r' command
Glenn L McGrath [Wed, 9 Apr 2003 15:26:14 +0000 (15:26 -0000)]
Fix the sed 'r' command

21 years agofix substitution when replacing with &, we shouldnt check for an escape charcter...
Glenn L McGrath [Wed, 9 Apr 2003 07:51:43 +0000 (07:51 -0000)]
fix substitution when replacing with &, we shouldnt check for an escape charcter. Its already been taken care of _somewhere_ else

21 years agoLabel ends at a newline, update comments, rename linked list field
Glenn L McGrath [Wed, 9 Apr 2003 01:43:54 +0000 (01:43 -0000)]
Label ends at a newline, update comments, rename linked list field

21 years agoRun through indent
Glenn L McGrath [Tue, 8 Apr 2003 11:56:11 +0000 (11:56 -0000)]
Run through indent

21 years agoFixes block commands to correctly identify end of block, recognise the #n directive...
Glenn L McGrath [Tue, 8 Apr 2003 06:42:45 +0000 (06:42 -0000)]
Fixes block commands to correctly identify end of block, recognise the #n directive, fix substitue command when regex isnt specified

21 years agoAdd hold space commands 'g', 'h', 'x'
Glenn L McGrath [Mon, 7 Apr 2003 16:04:14 +0000 (16:04 -0000)]
Add hold space commands 'g', 'h', 'x'

21 years agoRename "line" to pattern_space to be more descriptive and closer to the POSIX description
Glenn L McGrath [Mon, 7 Apr 2003 12:24:44 +0000 (12:24 -0000)]
Rename "line" to pattern_space to be more descriptive and closer to the POSIX description

21 years agoSync with waldi's package
Glenn L McGrath [Sun, 6 Apr 2003 15:35:52 +0000 (15:35 -0000)]
Sync with waldi's package

21 years agoPreparation for the new net-udeb based on required applets documented at
Glenn L McGrath [Sun, 6 Apr 2003 03:39:24 +0000 (03:39 -0000)]
Preparation for the new net-udeb based on required applets documented at
http://cvs.debian.org/debian-installer/doc/busybox-applets.txt

21 years agoAdd more help text
Eric Andersen [Fri, 4 Apr 2003 15:20:53 +0000 (15:20 -0000)]
Add more help text

21 years agoTest that cvs commit messages are working properly
Eric Andersen [Fri, 4 Apr 2003 14:35:36 +0000 (14:35 -0000)]
Test that cvs commit messages are working properly
 -Erik

21 years agoFix 'thinko'.
Manuel Novoa III [Thu, 3 Apr 2003 19:29:11 +0000 (19:29 -0000)]
Fix 'thinko'.

21 years agoYet another rather large face lift. It now works for me as expected.
Eric Andersen [Wed, 2 Apr 2003 10:13:26 +0000 (10:13 -0000)]
Yet another rather large face lift.  It now works for me as expected.
 -Erik

21 years agoAvoid errors with buggy preprocessors
Eric Andersen [Mon, 31 Mar 2003 16:27:18 +0000 (16:27 -0000)]
Avoid errors with buggy preprocessors

21 years agoUpdate config to new menu options
Glenn L McGrath [Sun, 30 Mar 2003 16:10:06 +0000 (16:10 -0000)]
Update config to new menu options

21 years agoRename, to specify kernel
Glenn L McGrath [Sun, 30 Mar 2003 13:57:26 +0000 (13:57 -0000)]
Rename, to specify kernel

21 years agoGroup common string
Glenn L McGrath [Sun, 30 Mar 2003 09:38:40 +0000 (09:38 -0000)]
Group common string

21 years agoSmall fix for sed 'y' command
Glenn L McGrath [Sun, 30 Mar 2003 08:40:09 +0000 (08:40 -0000)]
Small fix for sed 'y' command

21 years agosed 'y' command, simplify some other code
Glenn L McGrath [Sun, 30 Mar 2003 08:02:18 +0000 (08:02 -0000)]
sed 'y' command, simplify some other code

21 years agoExperimental support for embeded newline. (im evil)
Glenn L McGrath [Sun, 30 Mar 2003 03:41:53 +0000 (03:41 -0000)]
Experimental support for embeded newline. (im evil)
Fix segfault when using 'N' with an odd number of lines.

21 years agotrivial fix to make sure we have sufficient arguments before
Eric Andersen [Fri, 28 Mar 2003 16:54:14 +0000 (16:54 -0000)]
trivial fix to make sure we have sufficient arguments before
we mess with a possibly non-existant argv[1]
 -Erik