@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> :: yawn ::
<0> It's quiet in here.
<1> eh
<1> I hate how people in MVC apps try to have 1 model, 1 controller, 1 view.
<1> what ends up happening is they go through too much legwork trying to shove all of their logic into their "model", which turns into a big ****ing mess, etc.
<2> Is there an awk statement that causes scripts to exit with a certain return status?
<3> kingsley: exit maybe?



<3> hm, not sure.
<3> seems to work so.
<2> calmar: Thanks. Exit worked.
<3> ah ok ;)
<0> :: yawn ::
<0> Hello.
<0> kingsley: exit n;
<4> :: morn ::
<5> moo
<6> using only awk , print a line in a file that has , peer some-ip-address , and then have awk only print on screen the "some-ip-address"
<6> that makes sense?
<0> xmb: Your server was down :\
<7> pr3d4t0r, there >?
<0> elderrr: Barely.
<0> elderrr: What's up?
<7> pr3d4t0r, i just deleted by mistake /usr partition , do you know of a way i can get /usr remotely from another server that has the same configuration ?
<7> pr3d4t0r, is there something that i can use that wasn' in /usr so wasn't deleted
<7> i know that in /usr are most of the binaries but is't there anything else i can use like tar or something from /bin
<7> found it pr3d4t0r tar czvf - /usr | ssh badnode "cd /usr ; tar zxvf -" and tar xzv < /dev/tcp/host/port and tar czv /usr | nc -l -p port on the other side using tar from /bin and and bash's tcp support
<0> elderrr: Damn.
<0> elderrr: Careful with that rm command ;)
<0> Kano!
<7> well it was plesk that done it
<7> not me
<7> damn plesk



<8> hi, whats the awk thing for .* in perl
<7> it din't gust rm ...
<7> i*
<0> elderrr: HeH.
<0> Kano: HuH?
<8> well for the any key
<0> Kano: What does that do?
<0> Kano: . == any character.
<0> Kano: .* == any character(s)
<8> yes thats what i want
<8> but .* does not do what i want
<0> Kano: What do you want?
<8> awk '! /[[:space:]]*#/ {if ($2 != "/proc.*" && $2 != "/sys") { print }}' /etc/fstab
<8> that does not work
<8> the .* is not used
<0> Kano: That looks over engineered.
<8> maybe
<0> Kano: So let's look at the matching clause.
<0> Kano: ! /what?/ ?
<0> Kano: What is that supposed to do?
<8> remove comments
<8> maybe i should add a ^
<8> thats not the point,this works
<0> Kano: That doesn't remove comments.
<0> Kano: OKi.
<0> Kano: Try the ~ instead of the == operator (or !=) in your if statement.
<8> hmm good idea
<8> is that begins with?


Name:

Comments:

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






Return to #awk
or
Go to some related logs:

gnucalc win
#php
#lisp
ERR SDFS
#web
PyRun Stream
rlared
DWL-630+sniffing
#php
irongland



Home  |  disclaimer  |  contact  |  submit quotes