@# Quotes DB     useful, funny, interesting





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



Comments:

<0> anybody running ospfd atop carp?
<1> here's to ANGRY CAPS
<2> for manually adding _* users is there a recommended uid range to use
<2> like is there a range <1000 specified that ports packages wont use
<2> nm ill just claim 901-999 as mine
<2> :)
<1> ports newusers start at 500 afaict
<1> i read something about it once but can't find it.
<3> i believe the checklist has it
<3> there's a file that lists them
<1> i scanned it and didn't see. hm
<1> ah there it is, /usr/ports/infrastructure/db/user.list
<3> that's the one
<1> that reminds me to glimpseindex that.
<3> ;)



<1> my poor little laptop hates those mean finds :)
<3> locate(1)'s not good enough for you?
<1> locate doesn't grep :)
<3> oh
<3> right
<3> >_>
<3> and glimpse does, i take it?
<1> Yep.
<3> ah
<1> It's handy.
<2> deanna; thnx
<2> so id be more smart to like use 300-400 :x
<3> deanna: i did a quick update to the glimpse port; could you test it?
<3> http://paste.lisp.org/display/23229
<3> all patches except patch-agrep_bitap_c should go away
<3> could you check, too, that the license stuff is right?
<1> lisppaste? :)
<1> lt_kije: that new licence looks nasty
<1> that's probably why it hasn't been updated.
<3> i had paste.lisp.org open in elinks ;)
<3> yeah, it's ugly
<1> i almost don't want to use it ;)
<3> debian has it in non-free, fwiw
<1> chick this out http://webglimpse.net/dev/ppl.html
<1> hold on to your lunch ;)
<1> ~check
<1> yeah :/
<1> there's probably an alternative.
<3> alternative license? alternative to glimpse?
<1> alternative to glimpse.
<1> though i think it's not allowed to have a new licence apply to old versions, is it?
<3> nope
<1> but the old one is pretty nasty too :)
<3> yes
<3> it is
<1> shareware windows crap
<1> it's near impossible to search the web for 'unix indexing search software' :)
<3> heh
<3> FreeBSD seems to have 4.13 in their ports tree
<3> our port was ripped from theirs almost entirely
<4> recycling is good for the environment
<3> port_stealing++, of course
<3> deanna: if the update works, someone should submit the diff
<2> deanna; yeah no one bothers when find kicks *** already ;)
<3> motion: find | xargs grep, you mean
<2> umm no
<2> find -exec grep
<3> uggh
<4> both of those ****
<3> deanna: the current port has a broken mirror
<2> find -exec i think has removed me ever needing xargs
<2> baron; whats wrong with find
<1> right, it's broken because they yanked it and put it on a commercial site
<1> find is slow and resource-intensive
<4> it won't tell you what file it found the match in
<2> it works fine here
<2> baron; grep -H ?
<2> baron; grep does take many options of its own
<1> are you doing find | xargs grep in /usr/src? :)



<2> deanna; no ;(
<4> yes, you need to p*** arguments to grep to make it print out the filename, -o iirc
<2> you should try to limit your searches ;)
<1> i'm too curious. :)
<4> deanna: id-utils
<2> baron; grep -H will print the filename, like grep does automatically when many files are named
<1> ooh it works in emacs :)
<4> deanna: yes, id-utils + emacs is a great way to navigate
<4> motion: you must have a different definition of automatic
<4> $ find /etc -exec grep mjc {} \;
<4> mjc:*:1000:1000::/home/mjc:/usr/local/bin/zsh
<4> $
<2> baron; -H
<2> for the third time
<2> baron; grep given ONE file be default doesnt print the filename
<2> -exec is executed for every file that matches your search
<4> it's not -H, it's -o
<2> -exec grep -H mjc {} \;
<2> oh, -H on linux
<2> baron; then you answered your own question before complaining ....
<4> I didn't have a question
<4> I was just pointing out how you were wrong
<1> Heh?
<4> and it seems you've finally figured that out
<2> heh
<2> srry
<2> oh
<2> 22:14 baron| motion: you must have a different definition of automatic
<2> baron; its automatic when you give grep many files ..
<1> could anyone teach me how to use chmod?
<2> baron; -exec is called for every match
<2> baron; and a more sane find would be adding -type f
<2> deanna; man chmod
<4> I know, which is why I was saying the find -exec grep ****s.
<2> baron; find -exec grep -o ... happy :-/
<4> yes, -type f is handy especially on solaris, those bastards put fifos in /etc (my favourite place to grep)
<2> i always do grep -l usually seeing the file names tell's me which ones to look at
<2> ouch
<1> find | xargs is faster, always has been ;)
<2> but i use find probably a couple dozen times every day so ... :-/
<2> its i fwiend
<2> deanna; you can keep your 2 seconds kk ;)
<4> find | xargs also has a tendency to open the door to security problems
<2> deanna; your greping /usr/src and need help with chmod ?
<1> how so?
<1> how so on xargs.
<4> for starters, without the -print0 and -0 constructs you have problems
<1> i grep /usr/src for things like 'bunnies'
<1> huh
<2> i can see how thats on the top of your list of actions that must take place in milliseconds
<1> ah i see, baron
<2> if you need fast just google site:openbsd.org/cgi-bin/cvsweb bunnies
<1> anyway i'm using glimpse and maybe this id-utils thing that doesn't have any manpages.
<2> or just stop looking for bunnies ;)
<4> id-utils is antiquated, but highly effective, you probably just need mkid and gid (or M-x gid in your case)
<4> as for find | xargs I'm looking for another subtle nasty bug (old djb post)
<4> found it!
<4> http://groups.google.com/group/comp.security.unix/msg/c353c71f5fb589da?hl=en&;
<1> nice that he explains it. :p
<4> it's djb, what do you expect, the thread is long, but it's a good read
<1> yeah i see now. i sort of remember this
<1> but i figured, eh, that's too complicated, who cares :)
<2> haha anyone doing global chmod even of suid bits deserves whatever they get
<4> there's actually two distinct problems with that command
<4> and grasping the second one is a very good idea
<2> i guess you were being sarcastic on the long thread
<1> well the command was published in books, lots of people did it blindly
<4> there are people writing linux who didn't grok why that was bad :)
<1> i bet it's in my old copy of unix power tools :)
<2> baron; hmm why is it really :x
<4> and yes, the thread is long, the link I pasted kinda ****s, you have to click the subject or whatever to get the thread
<2> kk
<2> ahh
<1> "By the way: say, sendmail stands for send mail. What does qmail stand for? Quit using mail? :-)"


Name:

Comments:

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






Return to #openbsd
or
Go to some related logs:

#computers
gayboyz
#politics
#beginner
#worldcup
Nuff said, I'm outta this.
#freebsd
irc noxbot
debasement sql
#beginner



Home  |  disclaimer  |  contact  |  submit quotes