[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with semaphores and such.



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