@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28



Comments:

<0> cR1miNaL: That's not an intelligent question, it doesn't even make sense.
<1> Al-Ashtar: stream editing and regular expressions are advanced topics. Some of my peers in the computer science department don't know about regular expressions!
<2> ok wait i show u the line in manual
<2> ::::
<3> fine
<2> KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING
<2> (found on your distribution's CD)
<0> What about them?
<2> now what it mean?
<0> You want to install them? Edit them?
<2> jeian r u asking me?
<0> Yes.
<0> I don't understand what you want to do with your kernel headers.
<4> cR1miNaL: what distro ?
<2> actually i m trying to install my modem on redhat 8.0
<3> it means the following files/info has the "kernel header files" of the kernel of the linux distro you are running



<3> is it simple enough?
<2> ok::: i paste it on nomorepaste.com
<2> ok
<4> Cognition: go on
<2> http://www.nomorepasting.com/paste.php?pasteID=64752
<1> Al-Ashtar: regular expressions, are a way of searching for a specific pattern of text
<2> at line no.48
<2> its there
<0> cR1miNaL: OH. :P
<2> please check
<0> It means that you need to install the C++ header files for your kernel.
<0> What distro are you using
<0> ?
<0> *C
<2> red hat 8.0
<2> kernel is:
<0> That's reaaaaaaally old, but...
<2> wait
<4> Cognition: $1 $2 $3 etc ?
<1> Al-Ashtar: no
<3> cR1miNaL : man i'm too impatient to read that whole post
<2> i have a cd of redhat 9.0
<1> Al-Ashtar: these are tokens or arguments or variables
<2> but it is corrupted
<4> ok
<1> regular expressions help you recognize a pattern
<1> for example
<2> will i be helped plz?
<5> cR1miNaL : I was hoping you were grown up enough to not use this aol-eze crap that all these little kids were using. Looks like I was wrong.
<4> what do you mean by the word expressions
<1> search for only numbers from 1 to 4, and the character s
<3> cR1miNaL : if this cd is corrupted then what can we do?
<2> i asked 4 the kernel q.
<2> not cd
<3> i see
<4> cR1miNaL: use yum to search for your kernel headers then install them
<2> what do i search?
<2> i have no idea
<4> then use the CD
<1> for example the regular expression [kw]
<1> sorry [ku]
<1> would match kuwait
<1> kung-fo
<1> but it would not match mark
<4> ok
<4> I get it
<1> because there is no u after k
<6> woop
<1> let's say for example, you make a lot of mistakes, for example, you always type exti for exit
<1> then, you can search for and replace by searching the regular expression ex[ti]
<2> please! i have got a driver,,it says it is for::OS:Linux*, SUSE* Linux 8.0 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,will it work well on redhat 8.0
<2> ???
<1> actually i typed something wrong there
<2> hello
<2> plz i asked something
<5> cR1miNaL : We REALLY hate it when people like you don't bother taking the time to type please.
<1> [ku] matches only k or u, not either
<4> wait don't tell me
<4> I'll find it
<1> not both i mean



<3> be just with english language atleast
<4> ok you lost me
<2> please! i have got a driver,,it says it is for::OS:Linux*, SUSE* Linux 8.0 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,will it work well on redhat 8.0
<6> ,,,,,,,,,,,,,I DO NOT**************know;;q2l;erl123'erlq3r lol
<7> cR1miNaL: try it.
<1> Al-Ashtar: let's say "Al-Ashtar is learning"
<4> ,,,,,,,,Try.... !!!/ google $$5@iei
<7> cR1miNaL: chances are, your computer will not go bust in a fireball.
<1> Al-Ashtar: let's also say, we always make mistake like Al-Ashtar is laerning
<1> how do you search for that word?
<1> so you Al-Ashtar is L[ea][ea]rning
<8> i never find drivers for my modem...
<1> this way, you catch both words, learning and laerning
<4> Cognition: you mean L[ea][ae]rning
<1> no, the order doesn't matter
<1> this is called a character cl***
<1> which means, match only one character from the following
<4> you said
<4> [ea][ea]
<4> I said
<4> [ea][ae]
<1> Al-Ashtar: both will work just as fine
<4> then why search twice ?
<1> because you are searching for both words, learning and laerning
<1> so, the second letter could be a or e, abd the third letter could be a or e
<4> yeah but the order doesn't matter
<1> no, it doesn't
<1> the [ ] means match one of the following
<4> so [ae] only, would find learning and laeringi
<4> so [ae] only, would find learning and laerning
<1> for example, what does this mean [a-zA-Z] ?
<1> no, L[ae][ae]rning would find'em
<4> locate a-z or A-Z
<1> no
<1> it would locate any charcter in the alphabet :)
<1> this is called a range
<1> how about this -> \d
<4> [\d]
<1> this would match any digit soo, \d is the same as [0-9]
<1> nope :)
<4> [0-9a-zA-Z]
<1> \d is a special character, not part of the character cl***
<1> :)
<1> good job
<1> now, i gave you a quick intro ..
<1> you promised to read, :) read
<4> this is not a quick intro
<4> this is like a kick in the *** kinda intro
<4> ok I know how to search now
<1> sigh ok a little more
<1> how do you find any character that is not a digit?
<4> but I want to search&replace what's in a file
<1> two options, \D or [^0-9]
<4> ok
<4> if a file has this: token1-token2 token3-token4-token5
<1> a token is not an expression
<4> then to change the last two dashes between 3-4-5
<1> it's just the "next word" or next token depending on what you define as the seperating character (usually a space)
<4> I should do sed '//D/:/g' ?
<4> cat Kabuto | awk '{print $2}' | sed 's/-/:/g'
<4> this is what I had
<4> so I would do
<4> cat Kabuto | awk '{print $2}' | sed 's//D/:/g'
<4> right ?
<1> no
<4> :(
<1> you need to loop beyond the second token
<1> how?
<1> i'll let you think about it more
<1> if you can't figure it out, i'll give you more hints
<4> yeah it's not connected
<4> token1-token2 token3-token4-token5
<4> there is a space between token2 and token3


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

undernet allnitecafe room banned
#allnitecafe
#india
#worldchat
banada ver
#allnitecafe
#allnitecafe
#php
#india
#india



Home  |  disclaimer  |  contact  |  submit quotes