[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug with grep?
From: |
Norm Jacobs |
Subject: |
Re: bug with grep? |
Date: |
Mon, 16 Nov 2009 13:30:20 -0600 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20091027) |
Wolfram R. Jarisch wrote:
I found somewhat surprising that
# man gcc | grep m64
does not produce any output but
# man gcc | grep 64
does. What do I miss? The "m" is not an option - "-m" is...
Seems to work on Ubuntu 9.10 and OpenSolaris build 127 for me. Which
OS? Which version of grep?
opensolaris% uname -a
SunOS opensolaris 5.11 snv_127 i86pc i386 i86pc
opensolaris% /usr/gnu/bin/grep -V
GNU grep 2.5.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
opensolaris% man gcc | /usr/gnu/bin/grep m64
Reformatting page. Please Wait... done
-mcmodel=code-model -m32 -m64 -mapp-regs
-mno-fp-in-toc -mno-sum-in-toc -m64 -m32 -mxl-call
-mno-tls-direct-seg-refs -mcmodel=code-model -m32 -m64
-mno-mvcle -m64 -m31 -mdebug -mno-debug -mesa
-m64
-m64
-m64
GNU/Linux for S/390 ABI. When -m64 is specified,
-m31, while the s390x targets default to -m64.
with -m64. When generating code compliant to the
opensolaris%