| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Comments:
<0> y <0> er. ty* <1> you got your tuffbook already? <2> vIkSiT: what in the hell are you using the del ket for anyway? <3> schitzo: yeah <2> siglite: which nic? <3> marvell yukon <2> which driver? <2> theres two available <4> siglite: I've actually had hard locks with that same card under Windoze. <5> siglite: you can't get anything out of the magic sysrq? <0> D-side, er, i meant backspace :) <5> vIkSiT: The question still stands. Why are you typing characters you didn't wish to? <5> vIkSiT: It implys you need to slow down and think. <2> siglite: if you're using sk98lin, try skge instead.
<2> or vice versa. :) <2> SuperVersat: English, damn you <2> vIkSiT: such keys are not used in vi <0> whyzzyrd, hehe, well - its not stuff i'm typing - its stuff i'm getting rid of :) - deprecated comments, functions etc. <0> D-side, well, i work in the insert mode quite a lot <0> and using x is impossible then. <0> unless i switch to command mode and use the cursor keys and x, which means more keystrokes to get the same thing done <0> QED. <0> :) <6> hi rom <1> rom? <2> wow. <6> I need help to make a Regular expresion <6> Room <6> sorry <2> **** you. <7> libertad_: man perle <2> thats a pretty regular expression <1> s/**** you/blow me/ <6> for "<div cl***=mainbody >" <6> maybe /^\<(.*)(mainbody)(.*)\>$ <6> but /^\<(.*)(mainbody)(.*)\>$ is bad <5> GAH, you ****IN IDIOT <6> mmmmmmmmmmmm <5> my eyes. <6> Someone? <7> libertad_: what is it you're trying to do anyway ? <1> someone what? <6> Lion-O, parsing a Html page <7> libertad_: also note that there is a difference between the way perl uses there, grep uses these, etc. <6> <div cl***=mainbody> I wan that </div> <6> maybe with the preg_mach function <7> libertad_: preg_mach ? now you stopped making sense alltogether. <6> Lion-O: but the regular expresion is equal <6> split maybe <7> besides, if you only want stuff which goes between the <div ...> and </div> (which wasn't your original question) why even focus on "mainbody" and just skip everything else? <2> PolarWolf: downloadable pdf with fix available? <7> that would basicly mean you'd need <selection of <div>> .* <selection of </div>>. Then $0 (iirc from mind) would end up being your selection. <8> D-side: Dunno. But hey, some cl***ic trial and error never fails :P <6> Lion-O: exactly <7> and since <div> could end up anywhere in a HTML file you don't want to look from the beginning of the line (^). <6> but mainbody is into a div maybe or td or table or p or whatever, That's the question <9> home <7> hmmm.. I'd say something more in the lines of "\<div\>.*\<\/div\>" <6> Lion-O: but mainbody is into a div maybe or td or table or p or whatever, That's the question <6> mainbody is the search patron <7> libertad_: then you *really* should think before asking a question. Thats the 2nd time you changed it. <6> Lion-O: for that <div\b[^>]*>(.*?)</div> <10> does *.exe files work on linux? <7> libertad_: so now you don't want to grab whatever goes between the <div> </div> ? <7> Aeternal: sure. rm never failed on them for me. <11> hi <6> Lion-O: My English is slow soory <6> sorry <1> Aeternal: you can name a shell script foo.exe and chmod 755 it and run it. <1> sure... <7> Aeternal: I don't recall asking you to msg me so keep it in the channel nimrod. <6> Lion-O: exactly It can be a div or td or p or table or a or any html tag
<7> libertad_: so basicly you're looking for whatever text goes between whatever tag. Right, now we're getting somewhere. <6> but with cl***=mainbody into that tag <7> libertad_: differentiate. so you're looking for < > (as shown above) but instead of using .* you should use a selection. Like, it could be div, or table, or... Check up on "man perlre" for that and you should be homefree. <6> <whatever cl***=mainbody> I wan that </whatever> <7> hmm, selection or array, whatever they call it. <6> Lion-O: tell me a example, please <1> why don't you just get a HTML Parser module and walk through the parsed document? <1> unless of course this is homework <6> schitzo: because is no GNU <7> libertad_: I just did. <1> it's no GNU? <11> i have a music list and i want to replace "/mnt/d/" with "D:\" so I can use them in windows as well. could anyone please tell me what commands would do this? <1> GNU is as GNU does. Hi.. I'm Gary Gnu <7> gnech: any editor can do that, on the commandline I'd use 'sed'. <7> schitzo: and you say m00 ? <1> Lion-O: no, that's db2 <7> schitzo: damn, oh well ;-) <12> good morning <6> Lion-O: for example? <13> heya PW <8> Nanuq: Hurro <1> Lion-O: did you open the flood gates? <7> libertad_: "man perlre", it'll list many examples. <6> csi_X: good morning <7> schitzo: Maybe I forgot to close the FileInputStream in my IRC java applet :) <12> libertad_: makes me wonder .. where are you? <11> Lion-O: ah.. i was thinking cut and some other command.. thanks <6> Lion-O: but Regular Expresion is for any language <1> Lion-O: I think your Filter.IDIOT isn't properly matching <7> libertad_: good for you. <12> I was trying to play with $RANDOM in bash ... I wonder if it could generate randoms between negatives and positives <14> libertad_: the concept is, but the syntax isn't. <7> libertad_: however I happen to know from personal experience that this particular manpage has some very good examples. <6> Lion-O: But "man regex" ? <6> Cynic: thanx <12> hrmm ... like no one likes bash? <15> is it possible to change the root filesystem of a running linux system? <7> and when it comes to multiple selections (see above) the difference is neglectible. <6> Lion-O: But I'm working with php :( I'm sorry <14> bash is completely awesome! <8> separov: look into pivot_root <7> separov: sure. after you turned it off ofcourse. <7> csi_X: I think no one likes lazy people. Whats stopping you from doing "man bash" and lookup "random" ? <6> Lion-O: I go google <12> Lion-O: I did <12> Lion-O: it spits $RANDOM <7> csi_X: bingo. <6> Lion-O: I go to google <12> Lion-O: of which it doesn't give the example of doing negatives <1> Cynic: you got me an evil clown yet? <16> csi_X: you can't directly. scale and subtract from it <7> csi_X: so use your brains... It tells you what limits its using. So.... what would happen if you subtracted something from it ? <14> schitzo: no, actually, i was going to ask if you'd gotten one done already <7> I'd say you'd narrow the scale and go lower than 0, thus presenting a negative value. <14> schitzo: but i should see this dude soon <1> Cynic: no I haven't gotten one yet. That one I showed you was sort of cool, but might be a little big for where I want on my arm <12> smsie: ahh .. thank you :-) <1> Cynic: if you see him and he can slap some online somewhere if he has them in digital form that would be el-f'n-suhweet! <7> hmm... in fact, if you'd grab 2 random numbers and simply subtracted 'm that would be even more random I think. <16> Lion-O: hmm, not so much. That has a distribution, not uniform randomness <14> schitzo: i reckon go for something that doesn't look too generic-evil-clown/ICP-style... something original <14> schitzo: yep i'll give it a go. he can be hard to track down and often has to abandon his house and leave his possessions behind, so... we'll see ;) <16> although I don't want to try to work out what distribution it has right now <7> smsie: hmm, thats true. <1> Cynic: yeah, something original is really what I want. I mysefl am in now way an artist. <14> a true artist, in other words <1> hah <5> schitzo: not even a piss artist? <ducks> <15> PolarWolf: do you know if/where it has been done? i suppose you could do pivot_root, then umount -l the old root and somehow deal with the processes having files open <1> Cynic: in theory I guess that tattoo artist should be able to draw something, but if your dude already has a bunch of them or something it might save time <1> whyzzyrd: I can write my name in the snow if I try. <14> schitzo: yeah, i wouldn't trust that too much anyway.. most of 'em are just tracers <2> schitzo: do you want just a clown's face?
Return to
#linux or Go to some related
logs:
rand
#MissKitten #c++ What is the name of the engine developed for the Harrier jump jet ?
#linux #chatzone cuando juegan las chivas #AllNiteCafe import fl.fileExists flash #linux
|
|