[LAU] How to post selected contend of a configuration file Was: OT - Re: Kernel 2.6.39 Re: Linux-audio-user Digest, Vol 52, Issue 33

Cedric Roux sed at free.fr
Thu Jun 23 13:33:14 UTC 2011


----- "Ralf Mardorf" <ralf.mardorf at alice-dsl.net> wrote:
> $ 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!

cat /dev/random
less /dev/random
see what happens
"less config-2.6.39.1 | grep PREEMPT" is
better said as "grep PREEMPT config-2.6.39.1" as already
mentioned.


More information about the Linux-audio-user mailing list