On Thu, 2011-06-23 at 06:34 -0500, S C Rigler wrote:
On Thu, Jun 23, 2011 at 1:17 AM, Ralf Mardorf
<ralf.mardorf(a)alice-dsl.net> wrote:
$ cat config-2.6.39.1 | grep PREEMPT
Sorry, but every time I see something like this I'm reminded of the
"Useless Uses of Cat" awards:
http://partmaps.org/era/unix/award.html
--Steve
Hi Steve :)
for me this is the easiest way to post the contend I wished to post,
just because I don't know another way to do it.
How is it done in a better way?
Of cause, opening a door with a key is better than doing it with a
cheque card, if the key is on hand.
Regards,
Ralf
$ less config-2.6.39.1 | grep PREEMPT
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
Is this better? Any thing that will replace 'grep'?
*?*
Really! Is there any valid reason not to use 'cat' to communicate the
wanted information? I didn't know the command 'less', but here it seems
not to make any difference. Could there be any advantages for me not
using cat?
I'm not kidding! I wonder if there is any difference!