[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
on SunOS "grep -e" fails
From: |
Elmar Rudigier |
Subject: |
on SunOS "grep -e" fails |
Date: |
Thu, 13 Jan 2005 15:31:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041227 |
Hi!
Using libtool on SunOS causes a lot of masseages like:
Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- e
grep: illegal option -- L
grep: illegal option -- /
grep: illegal option -- o
grep: illegal option -- p
...
It seems, that libtools is expecting GNU grep.
On SunOS grep, which is installed in /usr/bin, doesn't accept the option '-e'.
But there is another grep installed on the system (in /usr/xpg4/bin), which
accept this option.
Maybe it's possible to check if which grep accepts this option?
yours
Elmar
address@hidden sauxy2 557$ uname -a
SunOS sauxy2 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-280R
address@hidden sauxy2 558$ libtool --version
ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden sauxy2 559$
From man-page:
address@hidden sauxy2 556$ man grep
User Commands grep(1)
NAME
grep - search a file for a pattern
SYNOPSIS
/usr/bin/grep [-bchilnsvw] limited-regular-expression
[filename...]
/usr/xpg4/bin/grep [-E | -F] [-c | -l | -q] [-bhinsvwx]
-e pattern_list... [-f pattern_file]... [file...]
/usr/xpg4/bin/grep [-E | -F] [-c | -l | -q] [-bhinsvwx]
[-e pattern_list...] -f pattern_file... [file...]
/usr/xpg4/bin/grep [-E | -F] [-c | -l | -q] [-bhinsvwx]
pattern [file...]
--
DI(FH) Elmar Rudigier Salomon Automation GmbH
Softwareentwickler F&E A-8114 Friesach bei Graz
fon: +43-3127-200-312 fax: +43-3127-200-202
mailto:address@hidden www.salomon.at
- on SunOS "grep -e" fails,
Elmar Rudigier <=