@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8



Comments:

<0> mizu: thats for the example of sending multi files to sed
<0> mizu: I can use that one for a few other things as well
<1> does sed accept more input files?
<2> kittenbot: Hey thanx - it seems like it's working now!!! :D - However stupid me did a typo and now I got a (second file) S80start_my_rightvncserver in rc2.d ... can i just delete it or do I have to do it another way?
<0> mizu: I know it will accept them one at a time..thats why I was going to use find... it keeps them nice and neat with the full path/to/file
<1> OptimusPrime: you'll get a problem if the filename contains spaces...
<3> Waxhead: Just delete it.
<0> mizu: kittenbot : where did you both learn all this 'bash' scripting stuff? got Bash for Dummies or something?
<2> great....
<1> nah, just manpage
<0> mizu: na, they don't have any spaces
<1> thats good then
<1> i had to change the CVSROOT in a whole project tree once, and did that nicely with a find | xargs, but it had 2 dirs with spaces... done that manually... only 2 of them, was fine..
<1> but if there were more, i'd be in trouble :)
<1> OptimusPrime: i have also written my own bashprompt if you're interested :P
<1> it's on http://www.morannon.org/~coke/linux.php



<3> OptimusPrime: If I'm using a computer, I'm using bash :)
<2> kittenbot: Great! it works like I wanted it 8] - Many thanx
<3> OptimusPrime: Try working through >>> http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
<3> np, Waxhead
<2> kittenbot: however I'm a bit curious by nature and I can't help noticing some C'ish syntax \n for example :) also what the heck does "$1" == "start" means ?
<2> can it be the display name or something ?
<3> 'echo -e' interpreter \n for us in the usual C sense.
<1> if the 1st argument to the command is "start" do the following...
<0> kittenbot: thanks... I'll check it out in a few secs...busy writing a 'bash script' of my own...with both your and mizu's ideas
<1> the [ ]; is the conditional operator
<0> thanks
<1> [ condition ] && command means as much execute command if condition evaluates as true
<1> if it evaluates as false, the 2nd part of the && operator won't be executed
<0> mizu: can you use ; for &&?
<4> OptimusPrime: no
<0> Gathond: was wondering
<1> well ; was in a different context... if [ condition ]; then command; fi
<4> OptimusPrime: ; is just a command seperator
<0> Gathond: mizu : gotcha
<4> so ; will execute command 2 regardless of the return code of command 1
<1> yep
<4> a subtle, but sometimes crucial difference
<0> Gathond: gotcha... I use ; a lot on the console to 'break' up commands
<1> cmd1 || cmd2 will execute cmd1, if cmd1 was a success it wont execute cmd2, if it failed, it will execute cmd2
<1> i think..
<1> or will it be a complex pipe error? :P
<0> mizu: hehehe...
<1> i only know of it as in perl's cmd1 or die(..); and php's same thing...
<4> mizu: no idea how that works with pipes :)
<0> mizu: I thought that was what it meant.. pipe the output to another command, if the condition was met
<1> OptimusPrime: no condition with pipes...
<1> just pipe the output to another command regardless of the condition...
<0> mizu: ok
<1> i dont see any condition there either :P
<1> i just wonder if bash sees || as one operator...
<2> Just a few words: It's not often I pop in here at LinuxHelp. but when I do I _ALWAYS_ meet nice people willing to help! I even got help with some winblows questions a while ago. This shows me that Linux ppl are GREAT ppl and quite often SMART ppl. Therefore thanx to ALL in LinuxHelp for making "lamers" like me enjoy penguinpower :)
<0> Waxhead: no problem...that will be 50
<0> Waxhead: just kidding
<2> LOL
<1> mmm cool
<1> elessar:~# sh script
<1> elessar:~# echo $?
<1> 1
<2> but honestly it's not often I write such "****up" but here I think it's apropriate :)
<1> this script returns an exit code of 1...
<1> elessar:~# sh script || echo error
<1> error
<1> looks like || does as expected...
<1> Waxhead: well.. that's just a mystery...
<1> Waxhead: /join #linux and try that again ;P your idea about linux people will change :P
<2> ...Just out of curiosity how many of you guys wear a tuxedo while sitting in from of your Linux box ?
<1> o_O
<1> now you went too far... OUT!
<1> ;P
<2> ehhe
<3> Full penguine bodysuit -- gotta to things right, ya know?
<2> AAAAAAAAAAAAAARGH!
<0> Waxhead: just kidding with ya
<1> OptimusPrime: interesting whois :P



<2> OptimusPrime: Pheeeew 8|
<0> mizu: oh...hehehe, its a nice chan... not what ya think.. its been around for well over a decade
<1> ok ok :P
<1> its full of people saying "relax, it won't hurt... i'll be nice..."? :P
<1> yea, sounds nice :)
<0> mizu: I was busy compiling KDE with visibility support.... one thing I noticed was that a lot of the link archives [*.la] have extra, unneeded paths...thats why I was asking about sed/bash scripting and the like... I wanted to straighten them out without too much fuss
<0> mizu: thats something I've also noticed with some of the Gnome core files... such as GTK/Pango/ATK/GLIBC
<1> they are text files?
<1> brb, time to dirty my fingers peeling an orange...
<0> mizu: yea, entirely... link archives are used by libtool to find the location of library files...the only problem, it will follow to other link archives and include their contents as well, so you can have some funky paths
<0> mizu: we'll be here...
<5> hi all
<1> back
<0> OmiKoRn: w***up
<6> wash your hands?
<5> any ideea on how to change the startup window manager in redhat?
<1> done that
<7> lol kittenbot, full penguin bodysuit :)
<8> whats the command to remove an RPM and all its deps?
<0> Chris_Tucker: I don't know about all its deps... but you can run : rpm -e <rpm> <rpm2> <rpm3>
<6> OmiKoRn: in gdm?
<0> Chris_Tucker: as far as I know, you will have to remove all the deps either, at the same time [in the example I gave] or one at a time [ignoring error msgs about deps]
<5> kodon:no .. i mean how do i change the window manager upon start? like between kde and gnome
<1> or you can make a script that will recursively list its deps, remove it, and then call itself again for the deps...
<8> i c OptimusPrime
<8> i myself havent used redhat in months
<1> just watch you you aren't breaking your system :P
<0> OmiKoRn: pico ~/.Xclients-default
<1> s/you/out/
<0> OmiKoRn: create it and then add the strings that you with to use
<8> i told the guy thats asking me to rm -dRf / and pop in a debian cd... but they said theyre not near that box :P
<5> lol
<0> OmiKoRn: X checks for several file including ~/.xinitrc
<5> OptimusPrime: there was some utility in Redhat based distros
<5> that is what i`m looking for
<0> OmiKoRn: oh, try switchdesk then... it can be run from the console and from X
<5> that one.. thanks OptimusPrime
<3> rpmorphan ?
<0> brb
<9> What does "A/m" mean in terms of power
<9> amper-minutes?
<9> ampere per meter
<1> or have you lost weight?
<10> Hi everyone
<11> fdisk -l shows my /dev/hde1 and /dev/hde2 with a linux filesystem, but I am unable to mount them. what gives?
<11> e2fsck'd them also.
<11> says everything is clean
<3> what does mount say?
<11> ain't mounted
<11> my /dev/hda and all its pafrtitions are mounted
<3> What does >>> mount /dev/hde1 /mnt <<< say ?
<11> ahh....ahhhh.....hmmm seems to be working now
<11> wierd
<11> hold on.
<11> now they're mounted.
<3> You didn't tell linux to mount them, so they weren't mounted :)
<11> I did earlir, and it mentioned a bad superblock
<11> then I e2fsck'ed 'em, and tried remounting them, still a bad superblock message
<11> then, I just tried it and it works.
<3> Backup. Now.
<3> :)
<11> heheh. no kidding. off to get DVD-Rs
<11> thanks people!!
<7> s/on/and/
<3> http://waxwolf.com/taper/temp/chiyo-pengi.png
<7> awwww :D
<1> freaks.
<7> kittenbot, http://waxwolf.com/taper/temp/chibitaper.jpg <-- this is also a nice one


Name:

Comments:

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






Return to #linuxhelp
or
Go to some related logs:

#AllNiteCafe
iftah saqajk
#mirc
12WHAT ARTIST WAS THE SUBJECT OF THE BOOK THE AGONY AND THE ECSTASY?
aanhill
#skype
#mirc
#linuxhelp
MrSolo Undernet
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes