| Summary: | grep works wrong in apsfilter's SETUP | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Martin.Kaeske <Martin.Kaeske> |
| Component: | Individual Port(s) | Assignee: | andreas <andreas> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Martin.Kaeske
2001-04-24 22:20:01 UTC
I "solved the problem with replacing grep with sed. grep -v "^#" $PRINTER_LIST --> sed -e '/^#/d' $PRINTER_LIST grep -c .... ---> sed ...|wc -l But might not be in the interest of the apsfilter developers. Martin -- The instructions said to use Windows 98 or better, so I installed FreeBSD. -- Jim Levie in comp.unix.bsd.freebsd.misc -- Responsible Changed From-To: freebsd-ports->andreas over to maintainer I've managed to get it working with replacing all grep calls with /usr/compat/linux/bin/grep. It is really strange, because i'm not able to reproduce the problem with another shell script, it only happens in SETUP. Martin -- The instructions said to use Windows 98 or better, so I installed FreeBSD. -- Jim Levie in comp.unix.bsd.freebsd.misc -- *grmpf* You want believe it :-) There must be something wrong with my PATH and a call to grep resolved to freegrep, after removing freegrep everything is fine. I'm very sorry, maybe i contact the freegrep developers. I think we can close this PR Martin -- The instructions said to use Windows 98 or better, so I installed FreeBSD. -- Jim Levie in comp.unix.bsd.freebsd.misc -- State Changed From-To: open->closed no freebsd or apsfilter problem. wrong PATH leading to freegrep first caused the problem. thanks for investigating further. |