Re: The emperor's New Inittab

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

 



Keith Roberts wrote:
On Tue, 17 Jun 2008, John Summerfield wrote:

To: For testers of Fedora Core development releases
    <fedora-test-list@xxxxxxxxxx>
From: John Summerfield <debian@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: The emperor's New Inittab

Bryn M. Reeves wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Summerfield wrote:
The quick way to get an answer is:
find /etc -type f -exec grep -l {} \;
and examine files listed.

Surely you want a pattern in there somewhere?

Without one, that command never terminates - grep will sit there
interpreting the value of {} as a pattern and trying to read from stdin:

$ find /etc -type f -exec grep -l {} \; &

$ ps ax | grep grep
 1849 pts/48   S+     0:00 find /etc -type f -exec grep -l {} ;
 1850 pts/48   S+     0:00 grep -l /etc/motd

Been doing that for a while now...

Bryn.

One hopes Chuck (and others) can read a man page:-) I gave a skeleton for finding files and doing something with them.

Well if one was to use something like:

# pinfo manpage

then there is not a problem.

# info manpage

and I'd not put any money on it.


08:17 [summer@numbat ~]$ man O man
Are people really that thick?




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux