[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
ralf.mardorf at alice-dsl.net
Thu Jun 23 12:53:43 UTC 2011
On Thu, 2011-06-23 at 14:46 +0200, Ralf Mardorf wrote:
> 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 at alice-dsl.net> wrote:
> > > $ cat config-22.214.171.124 | 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.
$ less config-126.96.36.199 | grep PREEMPT
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
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
I'm not kidding! I wonder if there is any difference!
More information about the Linux-audio-user