www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/16/13:04:30

Date: Sun, 16 May 1999 13:02:48 -0400 (EDT)
From: Daniel Reed <djr AT narnia DOT n DOT ml DOT org>
To: djgpp AT delorie DOT com
Subject: Re: TRUE and FALSE
In-Reply-To: <7hm9qq$kqc$1@news.luth.se>
Message-ID: <Pine.LNX.4.10.9905161258230.11324-100000@narnia.n.ml.org>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 16 May 1999, Martin Str|mberg wrote:
) Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
) : Or, you can say "grep FALSE DJGPP_directory/include/.../*.h" and find
) : them all in one swell whoop ;-).
) Not in tcsh in Linux/Unix, alas. Is this specific to DJGPP or does
) bash in general support this?
Uhm, grep is a standalone utility (it's found in the GNU grep package):

(13:00)root AT narnia:~# uname -a
Linux narnia 2.0.36 #2 Sun Mar 7 14:33:12 EST 1999 i586 unknown
(13:00)root AT narnia:~# echo $SHELL
/bin/tcsh
(13:00)root AT narnia:~# grep 'define.*FALSE' /usr/include/*.h /usr/include/*/*.h
/usr/include/bfd.h:#define BFD_TRUE_FALSE
/usr/include/curses.h:#define FALSE   ((CXX_TYPE_OF_BOOL)false)
/usr/include/curses.h:#define FALSE   ((bool)0)
/usr/include/graphics.h:#define FALSE            0
/usr/include/ncurses.h:#define FALSE   ((CXX_TYPE_OF_BOOL)false)
/usr/include/ncurses.h:#define FALSE   ((bool)0)
/usr/include/slcurses.h:#define FALSE 0
/usr/include/g++/bool.h:#define FALSE false
/usr/include/gr/jconfig.h:#define FALSE 0               /* values of boolean */
/usr/include/jpeg/jmorecfg.h:#define FALSE      0               /* values of boolean */
/usr/include/ncurses/curses.h:#define FALSE   ((CXX_TYPE_OF_BOOL)false)
/usr/include/ncurses/curses.h:#define FALSE   ((bool)0)
/usr/include/ncurses/ncurses.h:#define FALSE   ((CXX_TYPE_OF_BOOL)false)
/usr/include/ncurses/ncurses.h:#define FALSE   ((bool)0)
/usr/include/rpc/types.h:#define        FALSE   (0)
/usr/include/rpcsvc/yp_prot.h:#define YP_FALSE YP_FALSE
(13:00)root AT narnia:~#

-- 
Daniel Reed <n AT ml DOT org>
"Who kills a man kills a reasonable creature... but he who destroys a good book, kills reason itself..."

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019