AMBER Archive (2005)

Subject: Re: AMBER: Amber8 Parallel installation troubles

From: Atro Tossavainen (atro.tossavainen+amber_at_helsinki.fi)
Date: Wed Mar 23 2005 - 01:43:18 CST


Joe, Ross,

>>> huey# make parallel
>>> grep: illegal option -- q
>>> Usage: grep -hblcnsviw pattern file . . .
>
> This is a problem with the grep command on your machine. Grep is reporting
> that it does not support the -q option. This is very strange since I believe
> -q is a standard (POSIX?) option for grep. It means run it in quiet mode.
> What are the specs of your machine, operating system, version of grep etc.

Joe is on Sun, and the Sun /usr/bin/grep doesn't support -q. However,
/usr/xpg4/bin/grep does, so if you have /usr/xpg4/bin in the path before
/usr/bin, this problem goes away.

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 ... ]

(from Solaris 8)

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu