[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with semaphores and such.
- To: Shaul Karl <shaulka(at-nospam)bezeqint.net>
- Subject: Re: Problem with semaphores and such.
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 03 May 2001 18:14:21 +0300
- Cc: ogoldshmidt(at-nospam)computer.org, Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: Shaul Karl's message of "Thu, 03 May 2001 01:33:18 +0300"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <Pine.LNX.4.30.0105021540060.13536-100000@europa.betalfa.org.il><m3hez34z1l.fsf@erwin.comgates.co.il> <E14v5BS-0003RM-00@rakefet>
- Reply-To: ogoldshmidt(at-nospam)computer.org
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
Shaul Karl <shaulka@bezeqint.net> writes:
> >
> > egrep -n semun $(find /usr/include -name \*.h) /dev/null
> >
>
> Why have you used /dev/null?
>
> (Wild guess: to have egrep find a file to work with in case find returns a null string?)
Yes, standard trick. Actually, I used egrep in emacs, and emacs is
smart enough to add /dev/null always. I just pasted the command into
the mail, I guess.
--
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org
"I'd rather write programs to write programs than write programs."
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il