@# Quotes DB     useful, funny, interesting





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



Comments:

<0> find it out
<1> and it's integrated in the filesystem itself, doesn't need slow SQL
<1> and the best one, beos is fast
<2> yes
<2> it's fast, and stable
<2> Zeta isn't as stable as BeOS anymore, that's bad
<3> I tried BeOS when I first went operating system hunting, trying to get away from Win98. but it didn't support my graphics card, I ended up on Slackware a few months later (after trying some weird DOS-based GUI O/Ses, some were pretty impressive)
<2> but haiku will, I hope
<2> i have to work with suse on work, the feeling is terrible
<2> gnome and kde, monsters ...
<3> thaflo: I use ICEWM here ... extremely fast and responsive
<3> thaflo: I have everything bound to keyboard shortcuts, don't need my mouse for anything related to window management
<2> in handling/snappyness, beOS is still the favourite for me
<2> and in booting time anyway
<3> I really did want to try BeOS, heh. it sounded quite impressive at the time. alsa, grayscale just didn't cut it (without a working video driver, that's what it defaulted to)



<2> you can use beos standardly without mouse :)
<2> in the meantime graphics support is quite good
<2> "quite" good, as newer radeons don't work
<3> thaflo: I had my Arch Linux so heavily modified that I could reboot it in 48 to 49 seconds, heh. I think it was 34 seconds to actually cold boot it. but now I am on an unmodified Ubuntu, and it takes a couple minutes to boot
<3> s/alsa/alas/
<3> anyhow, we've gone off topic.
<2> ok :)
<3> thaflo: do all of the GNU CoreUtils work on BeOS ?
<2> no
<2> although ...
<2> which ones do you mean p.ex?
<2> haiku will be a lot more posix compatible
<2> as beOS and Zeta was
<2> where
<3> p.ex ?
<2> par example
<4> ls -l / | sort -d
<4> sorry
<3> thaflo: http://en.wikipedia.org/wiki/Coreutils#Programs_included_in_coreutils
<3> weird that I had to go to wikipedia to get a list of the apps in gnu coreutils
<3> the gnu web site is crappy at giving out information about its own apps
<2> yes, they are available
<2> http://bebits.com/app/2971
<3> nice
<2> it uses (since R5) also a bsd network stack
<3> I could never really consider an O/S without a working Bash and CoreUtils. it does run on most every operating systems these days
<2> yes, i like bash, too
<2> +the
<3> weird, I didn't know that there was an external command called "["
<3> and sure enough, there it is: /usr/bin/[
<3> go wikipedia.
<5> is there a way to temporarily pause the execution of a running script?
<1> like running an interactive shell?
<1> or just suspend it to stop in the background
<6> dpm: Is this a script you are executing from a terminal/window ?
<3> dpm: "read" will wait for the user to press enter, "read -n 1" will wait for them to press almost any key, "sleep 10" will pause for 10 seconds
<3> night
<5> ml2, MiniMax, Samus_Aran: I'm running a script in an interactive shell in gnome-terminal, and there's lots of output. The terminal keeps scrolling, and I'd like to know whether there is any key combination to tell bash to pause the execution of the script while it is running, so I can stop the terminal from scrolling and read some part of the output
<1> pipe to less or more
<1> or $PAGER if it exists
<5> would that really pause the script?
<1> not really, it would pause output page for page
<1> the script will run till pipe is full
<1> that's about 8192 characters, depending on OS
<5> ok, thanks
<1> the script cannot take input then, too late
<6> dpm: Try this too: Open a second terminal window, use ps to find the process id of the running script, and then kill -STOP pid and kill -CONT pid.
<1> too late
<6> Lunch time. Later.
<7> what does ${var:value}?
<7> it's described as "checks only that the variable is set"
<7> isn't that ${var-value} ?
<8> Peper: the ${var-value} sets a default value, if the variable is not set
<7> heiner: that what i thought, found a typo in manual
<8> note that there also is a ${var:-value}, with slightly different meaning
<9> is there a some sort of clear++ command?
<9> like, i want to not just clear the terminal, i want to delete the scrollback history
<9> tput and stty don't seem to have anything relevant
<10> how do you strip everything after a period "." from the value of a variable
<11> Can someone have a look at this bash script and tell me if they see anything wrong with it? http://rafb.net/paste/results/RbwOPE52.html
<12> hi there. How to remove line breaks from a file ?



<10> tr-d "\n"
<10> tr -d "\n"
<11> How can I check if a file is a FIFO and not a regular file?
<12> nathan, thanks:)
<13> what are some good books on shell scripting
<14> alexi5: http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html may list some books
<13> ok thanks
<15> alexi5, i have a book in pdf
<15> learn shell in 24hours
<15> i foudn it is effective and simple
<13> ok
<13> why does the variables need to be enclose in quotes in evaluation for the if expression
<13> eg
<13> if [ "$T1" = "$T2" ];
<16> because they are strings
<16> if they are ints, you can use
<16> if [ 1 -eq 2 ]; then
<16> also, you should use -eq or ==
<16> do not use =
<16> that is the ***ignment operator
<13> ok
<17> hi all
<18> Hello payal
<17> I have a simple script - if [[ -f ~design/httpdocs/beta/emailid.txt ]]
<17> then sed '$s/.*/&\n/g' ~design/httpdocs/beta/emailid.txt > /etc/design-aliases design-createdb
<17> fi
<17> JRlinux: hi
<17> when I run it thru' cron design-createdb is not invoked at all
<17> wait - is it the path
<17> yes it is path
<17> brb
<19> hello, I have a small problem with BASH scripting... ***uming I have a variable AAA
<0> I also ***ume there is not more. so, if AAA is your problem, chose BBB.
<20> lol
<1> dionyziz_: please continue
<0> he/she is overwhelmed by the impression of this room.
<21> We are an engaging bunch
<1> dionyziz_: if you don't write about your problem, only you can help yourself then
<22> I have field $5 with 'x', how can I test with awk, if $5='x', print ?
<23> poppy: awk '$5=="x" { print $0 }'
<22> thanks blackpenguin
<22> awk -F, '{ if ($5 == "x") print $3,$4 }' file
<22> thanks
<23> poppy: awk -F, '$5=="x" { print $3,$4 }' (shorter, both variants should work)
<22> got to love awk!
<22> thanks again blackpenguin
<24> i seem to recall using a distro where /etc/bashrc was read for an interactive non-login shell *without* it being sourced from ~/.bashrc -- am i dreaming?
<24> i find no mention of such behaviour in the bash manual
<23> chemaja: yes, you're probably dreaming, never heard of that. just /etc/profile for login-shells, but not global file for non-login shells.
<25> chemaja: bash sources /etc/bash.bashrc and ~/.bashrc for interactive non-login shells
<26> how can I have awk print a line from field $N to the end?
<26> is there a rest-of-the line special variable?
<25> awk 'NR == <linenumber> {for (i=N; i<=NF; ++i) {printf("%s ", $i)}'
<26> ok.. got it
<26> thanks
<25> r0rz: you're welcome
<24> goedel: is that a compile-time option? i'm not seeing it in the manual, and i can replicate on my up to date Arch Linux
<24> s/can replicate/can't replicate/
<25> chemaja: look in bash(1) search repeatedly for bash.bashrc with /xxx
<24> goedel: pattern not found -- i'm using GNU bash, version 3.1.17(1)-release
<25> chemaja: I use bash 2.05b and bash 3.0 and in both it exists
<25> chemaja: look if your bash manpage is not changed refering to the GNU manpage
<24> goedel: :(
<24> well, looking at the PKGBUILD for bash on Arch Linux, it *is* patched to high heaven with a pachset from ftp://ftp.cwru.edu/pub/bash/bash-3.1-patches -- god knows what these do
<24> (i care not to investigate) :D
<24> my kingdom for a distro that doesn't patch stuff
<27> chemaja: usually login bash (-l) reads /etc/bashrc
<27> err, forget that
<27> probably testing in /etc/profile for it being bash, and if /etc/bashrc exists, and then only sourcing it
<24> az: non-login shells generally don't read /etc/profile.
<27> then they stuck it in .bashrc
<27> if it was done for interactive
<27> and they usually get it enabled for all users by having a default /etc/skel/.bashrc
<25> chemaja: my bash is compiled with a special option


Name:

Comments:

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






Return to #bash
or
Go to some related logs:

#osdev
linxine
1394 cinelerra panasonic
#php
*** glibc detected *** anjuta: free(): invalid pointer:
submit.mc sendmail.mc signed CA
#gentoo
#lisp
linux defrag* necessary?
reverse xor operation



Home  |  disclaimer  |  contact  |  submit quotes