| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> try that <0> or <0> df -h <1> hehee <2> hello, can anyone help me out? trying to use sed to replace \ with / but get an error when doing http://pastebin.com/622168 <3> OmegaEvil: checking but I think its the same, I think the FS is ****ed <3> Phyx-: echo / | sed 's#/#slash#g' <4> or @ or anything else ;P <0> Phyx-, oi <2> hi OmegaEvil <0> you ran into the same issue i had weeks ago haha <0> do as they say <4> :) <0> you dont have to use / as initiator <5> ive never been able to master the art of sed/awk <2> war--: sorry, kinda a noob, i should replace that line with the one in my file?
<2> OmegaEvil: well, i made my school project on my home box, and when i uploaded it just now, it won't find the files <3> Phyx-: read up on sed ;) <0> war--, haha <2> :| <0> thats what i did <0> nothing mentions that one can use other intiators <4> Phyx-: see the s/\/slash/with/ <0> not even the oreilly pocket guide <4> the "/" in the sed are known as delimiters <4> you can use other characters as the delimiter <4> so s@/slash@with@ <4> for instance <4> or like war-- saidL s#/slash#with# <0> delimiter...not initiator <2> have to redownload, sinc emy former try screwed my files <2> blanked em al <2> all* <6> hello folks <6> crud <6> brb <4> dubkat: awk and sed are great utils.. look into a book called Cl***ic Shell Scripting .. if you are interested <0> im going to try crossover office 5.01 in a min <4> oreilly <5> i have an oreilly book on them, ive just not really read much of it <5> i do most of my shell scripting in PHP <0> in php ?!?! <0> lol <5> yup <2> lol <0> handy because ya can reuse it... <0> but apart from that <5> laugh all ya want. but its just as powerful as perl, but faster <6> ah, there we are <6> crap man <0> hmmm <2> php gives my nightmares.... i've spend 3 hours once debugging when all i did wrong was a lowercase t <6> I keep getting 'Temperatire above threshold' warnings <6> This is not good. <0> i cant comment on speed since i never tested <0> somebody write two identical functions in perl and time them please <5> i tested the speed using a perl sysinfo script, and a php sysinfo script i wrote, that shows even more info, and the php script was like 2x as fast <4> :o <7> boom <4> heh <6> Uh, ****, how might I go about checking with problem out? <6> er, this <0> well dubkat that isnt very representative <2> erm.. <0> you should use time <5> thats what i used <0> and the functions must be identical <5> time ./script <2> thanx znx <2> worked <4> dubkat: ill bet that shell is faster ;p
<4> Phyx-: :) <2> now i get a diff error, hehe <4> hehe <5> znx: not when they are both my desktop :p <2> You don't have permission to access the requested object. It is either read-protected or not readable by the server. <0> Phyx-, good you asked <2> :P <0> because i spent 3 hours mucking until mark pointed it out to me <0> hehe <0> i was pretty pissed <4> dubkat: you can shellscript too .. <4> and thats what i meant <4> shellscript is faster than perl+php <0> since even the oreilly pocket guide doesnt mention that one can use different delimiters <2> OmegaEvil: :) <0> znx tell my 1000 line shell scripts tht lol <6> I'd have to think this temperature warning is pretty serious.... <0> on 10.000 files + takes ages <4> OmegaEvil: ill bet perl takes longer :[ <5> that may be true, but im infinitly better at PHP than i am SH <4> :D <5> and i hate perl <4> dubkat: go with what you know.. <4> thats how to produce solid scripts ;) <0> as long as the job gets done <4> yup <0> who cares what ya use <4> hacks are hacks .. :) <5> hax hax hax <0> its all about the time saved variable <0> heheh <7> ^_^ <4> hehe <4> even kut agrees! <0> course <0> kutzooi, is the leet wannabe hax0r <2> oops, i did it again <7> muppet <2> blanked all my files :'( <2> rm -rf here i come <4> kut .. what the hell? <8> i once accidently typed rm -rf testfiles * <7> A monitor. <8> doih :) <8> extra space ... <4> Jer: i did a similar thing on a work server <4> on / <4> chmod 755 file * <4> oops <4> heh <2> lol <7> -_- <8> znx, I was trying to learn how to build an rpm and it was configured with the /var dir, and by bye /var <4> broken the printing for the whole uni.. <8> lol on a work server <4> Jer: did you think it was taking a time ;) <0> a mate once chowned all files to root <4> OmegaEvil: i chown'd / <0> haha that was fun figuring out who owned what after <4> to a user <4> heh <0> yep <7> =) <0> thats what he did <4> OmegaEvil: no not all the files <4> just / <6> fekking slow *** Eterm download... <0> ahh lucky you <4> yeah very <0> well he did -r <4> hehe <0> haha <0> ooops!
Return to
#linux-noob or Go to some related
logs:
ronoldinho #linuxhelp #beginner #microsoft #solaris #red #unix #beginner #red #politics
|
|