@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> pr3d4t0r: Damn you for the bookshelf ;-)
<1> hehe
<2> karsten: Like it?
<0> pr3d4t0r: Yeah, useful.
<2> :*
<2> karsten: :*
<0> ?
<0> cottonmouth?
<2> karsten: :D
<3> pr3d4t0r is teh awk masta
<1> lol ?
<3> a few days, talking to pr3d4t0r, he mentioned #awk. i thought it was a joke, so i decided to check it out. damn, its real.
<1> Oh right. Nope, it's 4 reel.
<4> Bow down to the one true awk!
<4> s/one true/One True/
<2> slava: Welcome.



<2> slava: I'm taking Olga 1 home.
<3> have fun
<2> slava: Have you played with awk yet?
<2> slava: Imagine what Perl would be like if it were nice. That's awk.
<3> pr3d4t0r: i use it occasionally, actually
<1> hehe.
<1> they ruined perl
<3> pr3d4t0r: i never got into perl
<3> esp not perl 6
<1> OO perl :-/
<2> slava: Larry wrote Perl to overcome the "shortcomings" of awk. The ironic thing is that awk was written as a minimalist language on purpose, and that made it very powerful.
<2> slava: Perl was intended as a powerful thing and became unwieldy for that reason. Sad, sad, sad.
<2> slava: I'm glad to see you here.
<2> slava: I'll be back in an hour.
<2> slava: xmb will show up some time later. Interesting character.
<1> "interesting" :-)
<3> the crazy guy?
<2> slava: He lives to write awk scripts. I don't think he does anything else. I haven't seen any of his code, though, but he's certainly one enthusiastic dude.
<2> slava: No, Rado is the insane fux0r.
<2> slava: Hrm... no, it's not Rado either. Rado is a cool German dude.
<2> slava: There's a guy from Sacramento that comes in and is always changing /nicks and ranting. Pretty weird guy.
<2> slava: He's like the programming world version of Friends' Phoebe Buffay.
<2> slava: One moment he says something incredibly insightful and five seconds later you want to strangle him.
<2> slava: If you ever saw buler in ##java, that's about the same. Or r0bby on drugs.
<2> Anytway, Olga's hurting. Need to take her home. See y a.
<3> heh
<5> xmb you up?
<5> um haven't used awk for years, need to parse some text files- can anyone help?
<1> yes
<1> what is up
<5> goldfish: you use gentoo?
<1> yes
<5> great- want to parse ebuilds to read DEPENDS strings
<1> I see.
<1> got an example ebuild i should look at?
<5> it's a bash script for a gentoo project (unofficial)
<5> tbh it's all of them
<1> k
<5> trying to think of a complex one
<1> please do
<1> i cba looking for one
<5> :)
<5> blimey php has *one* dep
<2> Greetings.
<1> hi.
<2> slava: Back.
<5> /usr/portage/app-cdr/k3b/k3b-1.0_rc2.ebuild goldfish
<5> hi pr3d4t0r
<2> slava: S3x0ring Olga couldn't have been any funnier.
<2> igli!
<5> :D
<2> igli: How may I help you?
<5> trying to parse ebuilds for DEPENDS strings
<2> slava: She's allergic to sesame seeds. Today she ate a ton of pine nuts processed in a plant that also roasts sesame seeds. I've never seen a girl so red and so itchy :\
<3> oh no
<5> omg
<2> igli: What do those look like?
<2> slava: Yeah.
<5> i'll paste one
<2> slava: I had to give her some antihistamine and cover her up with Caladryl before taking her home.
<1> igli: and what do you want from said ebuild?



<5> to take all the dependency strings and USE flags to extract info for a db
<1> is this for pkgcore ?
<5> no it's for QA if it works well
<5> http://phpfi.com/194972 pr3d4t0r :)
<1> QA?
<5> `quality ***utance' horrible term
<5> ****urance
<1> oh right.
<5> :)
<5> might be an issue with ecl*** not sure yet
<2> igli: OKi, so I see this; what do you need from it?
<5> see all the DEPEND and RDEPEND stuff: use? pkg-spec
<5> man whatis this?
<1> hehe.
<5> hal? ( || ( dev-libs/dbus-qt3-old ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.30 ) ) sys-apps/hal )
<1> You think they'd ****ing format ebuilds
<5> no way, user file
<1> igli: So. What kind of format do you want ?
<1> you just want the whole thing?
<5> all the lines, i need to detect use flag and pkg spec (atom?)
<5> then echo the parts
<1> in just DEPEND ?
<5> all *DEPEND
<5> thanks for the time and effort :)
<1> awk '/DEPEND=/,/[^=]"/' /usr/portage/app-cdr/k3b/k3b-1.0_rc2.ebuild
<5> woah
<1> for a start.
<5> :)
<1> see is that on the right track
<5> let me try it! :D
<5> yup
<5> just thinking have to get all `metaadata' -> point of a db, no?
<5> *metadata
<1> That means nothing to me.
<1> :-)
<5> several statements :)
<5> some for deps, one for IUSE etc
<5> not the actual build instructions
<5> although i think the ebuilds should just be in a db anyway
<5> bleh
<1> awk '/DEPEND=/,/[^=]"/{gsub("[\t ]*","");print}'
<1> if you want to get rid of leading tabs/spaces in that output
<5> :)
<5> oh man that hal line is awful
<1> yes.
<5> don't worry if it's too harsh
<5> i'm getting closer :)
<1> I'm in the middle of reading about this 'paludis'
<1> i might try it out
<5> yeah i wanted to install that on a fresh box
<5> just to see
<5> if you do let me know how it goes
<1> i shall keep it secrit
<1> From what i've read in the forums, it's all good.
<5> secret?
<1> yes.
<5> ?
<1> I meant to type sekrit.
<5> keep what secret?
<1> If it goes well.
<5> oic :)
<5> sorry tired
<1> No excuse.
<1> So, do you need to do anything else?
<5> hang on i'm checking with ferringb in#pkgcore - he knows loads!
<5> hang on i'm checking with ferringb in #pkgcore - he knows loads!
<1> do you use pkgcore?
<5> not really
<5> just dled it to check it out
<1> kk
<5> wanna use pquery to get deps, but just found a bug on my first use!
<1> heh
<5> thought - it's just in a text file, right?
<1> what?


Name:

Comments:

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






Return to #awk
or
Go to some related logs:

ubuntu-fglrx-$arch
gentoo clearlook
#linux
fschk rebuild
#web
cdrecord /dev/pg0 ubuntu
phpmyadmin innodb en uso
xcompmngr
#centos
Azureus java.lang.OutOfMemoryError: Java heap space



Home  |  disclaimer  |  contact  |  submit quotes