Bug#58266: bf-2.2.7: PCMCIA network install is broken
>>>>> "Brian" == Brian Mays <brian@debian.org> writes:
Brian> (3) It is true that /etc/init.d/pcmcia does use fgrep.
Brian> This can easily be changed to "grep -F"; however,
Brian> perhaps it would be better to provide two tiny
Brian> scripts on the root system: fgrep, which runs "grep
Brian> -F"; and egrep, which runs "grep -E". That would
Brian> keep other scripts that happen to be dependent on
Brian> fgrep or egrep from breaking. What do you think?
Busybox `grep' does not support the `-F' or `-E' switches. Can you
use just straight `grep'?
% ln busybox grep
karlheg@bittersweet:/usr/local/src/cvs.debian.org/debian-boot/boot-floppies/utilities/busybox
% ./grep
BusyBox v0.42 (20000219-1949) multi-call binary -- GPL2
Usage: grep [OPTIONS]... PATTERN [FILE]...
Search for PATTERN in each FILE or standard input.
OPTIONS:
-h suppress the prefixing filename on output
-i ignore case distinctions
-n print line number with output lines
-q be quiet. Returns 0 if result was found, 1 otherwise
This version of grep matches full regular expresions.
Exit Status: [0]
karlheg@bittersweet:/usr/local/src/cvs.debian.org/debian-boot/boot-floppies/utilities/busybox
%
Reply to: