10/30 My favorite command in UNIX is "cal". What is your favorite?
\_ Nein, I vill be. A German and a Jerry, danke, und Heil! -John
\_ PARSE ERROR. Are you on drugs again John?
\_ That's just my troll farm being rambunctious. Use new
Extra Strength Troll-Gro for healthy and frisky trolls!
\_ Based on frequency of use, gonna have to go with tcsh
\- "strip tcsh"
\_ unzip; touch; strip; finger; head; latex; mount; gasp; yes;
god; more; comm; spray; umount; sleep; zip; exit; dump
\_ date
\_ bc followed closely by procmail
\_ bc? What's so special about bc? I picked "cal" because it is
useful, and it is Cal!
\_ I'd say I use bc and cal most. Bc is great when you
want to do simple math.
\_ Except that you have to tweak scale to get decimal values.
I prefer nickle or just perl -lne 'print eval', or better
yet, ~mconst/bin/pc --dbushong
\_ You don't have to tweak scale. You put scale= in your
.bcrc file just once. You can also pipe to bc, it has
command line history and editing, variables, all the
basic math functions you'd expect on a decent
calculator and let's you write your own as well. Your
bcfu is weak! When you can pull this bc from my
hand, only then will you will ready.
\_ why can't it graph functions and find intercepts?
\_ why can't vi output quality latex for your
thesis? why can't gcc debug your code? why
can't the government provide services without
waste? Because they're not designed to.
\_ Can you explain why using bc makes sense
instead of programs like mathematica, matlab,
maple, or igor? I mean assuming you're not
pathalogically cheap or are selecting your
math software based only on demonstrating your
"fu"?
\_ If you don't know the difference between a
small but powerful-for-it's-size CLI unix
tool and a full blown math package like
mathematica you wouldn't understand the
reason for using either in the first place.
Why do you use "ls" instead of "echo *"?
Sheesh. Enough trolling. You're way into
lame now.
\_ Oh, no, I get it. Matlab and mathematica
are what those of us who actually need
to do real math use to do useful work.
Bc is what fat sysadmins use to show
eachother how big their dicks are.
\_ Thank you for participating in the
"What is your favorite UNIX command?"
thread. Your math nerd hostility
and insane rant has been duly noted
and disregarded. When you learn the
difference between "unix command" and
"shrink wrapped math package" you may
attract more than disdain the next
time you attempt to communicate. In
the mean time, I suggest classes on
how to behave like a real human being
might (even simulated behavior is
acceptable online) rather than like
the raging flaming asshole you are.
Again, thank you for joining us.
_/
Likewise, asshole
/"\
|\./|
| |
| |
|>~<|
| |
/'\| |/'\..
/~\| | | | \
| =[@]= | | \
| | | | | \
| ~ ~ ~ ~ |` )
| /
\ /
\ /
\ _____ /
|--//''`\--|
| (( +==)) |
|--\_|_//--|
\_ you're pretty touchy for a hostile math nerd,
but you're still welcome to join humanity if
you ever figure it out.
\_ soda% matlab
matlab: Command not found.
\_ /usr/bin/octave
\_ Well I'm just saying, doing that doesn't sound
that hard and would be a cool thing to have
in a quick commandline utility like this.
Newton's method and whatnot. It would have to
have the syntax support though. A simple
ascii-graphics attempt at a graph would be
cool too. Anything like that out there? I
guess it doesn't belong in bc though. gc?
\_ In theory you could get bc to output data
in a format you could feed into something
else to graph, etc. bc supports loops,
logic, functions, etc, so it can probably
be extended to do a lot of things never
imagined by the authors but you'd have to
write those functions yourself or call them
in bc from math library.
\_ My manpage says nothing about .bcrc, and it doesn't
seem to work. What version are you using?
\_ # bc -v
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
\_ That's what I've got and soda's got, and the
.bcrc file doesn't work on either.
\_ Hmm, dunno. I'm using freebsd. Maybe
their version is tweaked a bit. You could
alias bc to echo scale=foo | \bc or
something I guess but it probably isn't
worth it and would probably break other
things.
\_ Those don't have good commandline editing (history etc).
I suppose adding that shouldn't be too hard.
\_ bc -l
\_ nickle has history, and I like its . thingy, but you're
right, my bc fu is weak.
\_ Nickle is overkill. And there are things I use bc
for daily that I'm pretty sure are harder in nickle.
\_ emacs
\- emacs transcends unix
\- find ... | xargs
\_ grep -r something *
\_ I tend to do more grep -r something .
when I'm using -r .... --dbushong
\_ If you like cal(1), try ~dbushong/bin/c
\_ screen
\_ wow, did I actually see someone flicking someone off?
\_ just Hostile Math Nerd upset that someone would dare use a
simple program like bc instead of a monster to do simple math.
\_ You see that Matlab code on your ass? There's identical
Matlab code on my boot.
\_ Nope, just greasy math nerd on the rampage.
\_ awk
\_ perl |