BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005024 [BusyBox] Other major always 09-17-08 11:52 09-19-08 16:25
Reporter nuclearcat View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.12.x
Summary 0005024: egrep not working at all
Description I notice that egrep in my scripts in 1.12.0 not working, and in 1.11.2 it works fine.

To reproduce:

defaulthost ~ # busybox
BusyBox v1.12.0 (2008-09-11 13:04:04) multi-call binary
Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable. Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        [, [[, addgroup, adduser, adjtimex, arping, ash, awk, basename, bbconfig, bunzip2, bzcat, bzip2, cal, cat, chat, chgrp, chmod, chown,
        chpasswd, chpst, chroot, chvt, cksum, clear, cmp, comm, cp, crond, crontab, cryptpw, cut, date, dd, deallocvt, delgroup, deluser, depmod,
        df, dhcprelay, diff, dirname, dmesg, dos2unix, du, dumpleases, echo, egrep, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd,
        false, fbset, fbsplash, fdflush, fdisk, fgrep, find, fold, free, freeramdisk, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip,
        halt, hd, head, hexdump, hostid, hostname, hwclock, id, ifconfig, inetd, init, insmod, install, kill, killall, killall5, klogd, last,
        length, less, linux32, linux64, linuxrc, ln, logger, login, logname, losetup, ls, lsmod, makedevs, md5sum, mdev, mesg, microcom, mkdir,
        mkfifo, mknod, mktemp, modprobe, more, mount, mountpoint, mv, nameif, nc, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch,
        pgrep, pidof, pipe_progress, pkill, poweroff, printenv, printf, ps, pwd, rdate, readahead, readlink, readprofile, realpath, reboot,
        renice, reset, resize, rm, rmdir, rmmod, route, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setlogcons,
        setsid, setuidgid, sh, sha1sum, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sum, sv, svlogd, swapoff,
        swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, time, top, touch, tr, traceroute, true, tty, ttysize,
        udhcpc, udhcpd, umount, uname, unexpand, uniq, unix2dos, uptime, usleep, uudecode, uuencode, vconfig, watch, watchdog, wc, wget, which,
        who, whoami, xargs, yes, zcat, zcip

defaulthost ~ # cat test
config
defaulthost ~ # egrep "(config|lost\+found|kernel|`uname -r`.tgz)" <test
defaulthost ~ # Connection to 194.146.153.99 closed.
rich ~ # ssh root@194.146.153.146
GlobalOS 2.1 http://www.globalos.info/ [^]
Xpernet ~ # busybox
BusyBox v1.11.2 (2008-09-17 16:37:34) multi-call binary
Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable. Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        [, [[, addgroup, adduser, adjtimex, arping, ash, awk, basename, bbconfig, bunzip2, bzcat, bzip2, cal, cat, chat, chgrp, chmod, chown,
        chpasswd, chpst, chroot, chvt, cksum, clear, cmp, comm, cp, crond, crontab, cryptpw, cut, date, dd, deallocvt, delgroup, deluser, depmod,
        df, dhcprelay, diff, dirname, dmesg, dos2unix, du, dumpleases, echo, egrep, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd,
        false, fbset, fbsplash, fdflush, fdisk, fgrep, find, fold, free, freeramdisk, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip,
        halt, hd, head, hexdump, hostid, hostname, hwclock, id, ifconfig, inetd, init, insmod, install, kill, killall, killall5, klogd, last,
        length, less, linux32, linux64, linuxrc, ln, logger, login, logname, losetup, ls, lsmod, makedevs, md5sum, mdev, mesg, microcom, mkdir,
        mkfifo, mknod, mktemp, modprobe, more, mount, mountpoint, mv, nameif, nc, nice, nmeter, nohup, nslookup, od, openvt, passwd, patch,
        pgrep, pidof, pipe_progress, pkill, poweroff, printenv, printf, ps, pwd, rdate, readahead, readlink, readprofile, realpath, reboot,
        renice, reset, resize, rm, rmdir, rmmod, route, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch, setconsole, setlogcons,
        setsid, setuidgid, sh, sha1sum, sleep, softlimit, sort, split, start-stop-daemon, stat, strings, stty, su, sum, sv, svlogd, swapoff,
        swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, time, top, touch, tr, traceroute, true, tty, ttysize,
        udhcpc, udhcpd, umount, uname, unexpand, uniq, unix2dos, uptime, usleep, uudecode, uuencode, vconfig, watch, watchdog, wc, wget, which,
        who, whoami, xargs, yes, zcat, zcip

Xpernet ~ # cat test
config
Xpernet ~ # egrep "(config|lost\+found|kernel|`uname -r`.tgz)" <test
config
Xpernet ~ #
Additional Information
Attached Files  a.patch [^] (2,405 bytes) 09-19-08 14:28

- Relationships

- Notes
(0011674)
vda
09-19-08 14:28

Does attached a.patch help?
 
(0011684)
nuclearcat
09-19-08 15:03

Yes, it fixes the problem.
 
(0011704)
vda
09-19-08 16:25

Fixed in svn, patch:

http://busybox.net/downloads/fixes-1.12.0/busybox-1.12.0-grep.patch [^]
 

- Issue History
Date Modified Username Field Change
09-17-08 11:52 nuclearcat New Issue
09-17-08 11:52 nuclearcat Status new => assigned
09-17-08 11:52 nuclearcat Assigned To  => BusyBox
09-19-08 14:28 vda File Added: a.patch
09-19-08 14:28 vda Note Added: 0011674
09-19-08 15:03 nuclearcat Note Added: 0011684
09-19-08 16:25 vda Status assigned => closed
09-19-08 16:25 vda Note Added: 0011704
09-19-08 16:25 vda Resolution open => fixed
09-19-08 16:25 vda Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker