Berkeley CSUA MOTD:Entry 17601
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/09 [General] UID:1000 Activity:popular
7/9     

2000/2/23-25 [Computer/SW/Unix] UID:17601 Activity:high
2/23    http://www.wired.com/news/politics/0,1283,34503-2,00.html
        \_ Yet another Bash MS article, so what?
        \_ Everything in here is wrong except the bits about
           "what", "another", and "bash".
           \_ yeah tcsh is way better than bash.
2025/07/09 [General] UID:1000 Activity:popular
7/9     

You may also be interested in these entries...
2012/4/27-6/4 [Computer/SW/Languages/Misc, Computer/SW/Unix] UID:54372 Activity:nil
4/27    I wrote a little shell script to collect iostat data:
        #!/bin/bash
        DATE=`date +%m%d`
        DATADIR=/var/tmp/user
        OUTPUTFILE=$DATADIR/$DATE.out
        while true
	...
2009/12/9-2010/1/13 [Computer/SW/Unix] UID:53586 Activity:nil
12/8    Is there a bash equivalent to tcsh's history-search-backward ?
        \_ There's something similar called... history-search-backward. It
           is a bit more limited, in that it only searches for strings and
           not glob patterns. You may find reverse-i-search to be useful also.
	...
2009/10/27-11/3 [Computer/SW/Unix] UID:53475 Activity:nil
10/27   http://www.maxgames.com/play/flash-mind-reader.html
        how does this work?
        \_ sh -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j-(\
$i+$j)" | bc; done ; done' | uniq
        \_ bash -c 'for ((i=0;i<10;i++)); do for ((j=0;j<10;j++)); do echo "$i$j\
-($i+$j)" | bc; done ; done' | uniq
	...
2009/8/18-9/1 [Computer/SW/Unix] UID:53284 Activity:nil
8/18    Is it possible to truncate your path name in your prompt in tcsh?
        Tsch veterans REPRESENT!  I know this is how to do it in bash:
        # truncate path: returns $1 truncated to $2 chars, prefixed with ...
        truncate_path () {
                if [ -z "$1" -o -z "$2" ]
                then
	...
2009/8/19-9/1 [Computer/SW/Unix] UID:53285 Activity:nil
8/18    Hi again, new freebsd guy here again, in bash I was able to go
        LD_LIBRARY_PATH=/opt/foo/lib ./runmyapp
        I managed to do this in tcsh by using setenv in a shell script
        that setenv's the lib path and then executes $1, just wondering
        if there was a way to do it in 1 line from the cmd line as in bash?
        Thanks, btw %2c or %3c worked.  Freebsd, tcsh and vi forever!
	...
2009/1/20-26 [Computer/SW/Unix] UID:52420 Activity:low
1/20    I have a rather common shell-scripting problem, but I am not sure
        how to do it in csh/tcsh.  I want to check the ctime (last
        modified time) of a file.  If it is older than, let say, 1
        hours, do something, older than 3 hours, then do something +
        something else.  Any hints on how to do this?  do i need to
        convert it to epoch to perform such manipulation?  thanks
	...
2009/1/20-26 [Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:52425 Activity:nil
1/20    I've been using tcsh as shell program tool (i know, bad shell to
        do scripting).  One thing I've noticed when I extract xml file
        is that the variable type automatically change from
        integer/string to... almost an array-like data structure when
        the output of the xml key/value is more than one (it's more
        like a string separated by space, but I was very impressed as
	...
2009/1/13-22 [Computer/Theory] UID:52367 Activity:kinda low
1/13    I am writing a commandline parser for a class and I could use some
        tips for algorithms to use. (The project is over and done so I am
        not cheating, but I am dissatisfied with my end result.) I STFW and
        didn't come up with too much I liked. I read the source for some
        shells like tcsh and that is *WAY* too complicated and relies on
        a lot of other code. I know that browsers and other apps have
	...
2009/1/5-8 [Computer/SW/Unix] UID:52313 Activity:kinda low
1/3     no hurry but do you know of:
        $ chsh
        Password:
        Enter the new value, or press return for the default
         Login Shell [/usr/local/bin/bash]: /bin/zsh
        failed: Insufficient access
	...
2008/11/24-28 [Computer/SW/Unix] UID:52090 Activity:nil
11/23   How do you find the max # of forkable threads in a unix
        environment? Is it system or user based?
        \_ getrlimit, or ulimit -a (in bash)
	...
Cache (2568 bytes)
www.wired.com/news/politics/0,1283,34503-2,00.html
Commentary by 19 Jon Rochmis | 20 Also by this reporter 21 back Page 2 of 2 03:00 AM Feb. Soldiers Killed in Iraq Attacks * 35 Sharon's Likud Party Votes on Gaza Pullout Plan * 36 Blair Appalled by Iraq Abuse Photos, Doubts Emerge * 37 Son of Ex-Dictator Seen Winning Panama Election * 38 More Breaking News * 39 Wire Service Photo Gallery Tech Jobs Partner 40 Today's the Day. What that fine quote means is that writing is pretty darn hard. If you're going to develop a software program for it, make it easier. If you want to rewrite something in Word, you get a string of hyphens across the words instead of just being able to erase it. The dastardly spellcheck will treat you like a moron if your name is Duane or Tamisha (or Jon, for crying out loud). And every other word has a red squiggly under it because the built-in dictionary hates your guts. Try importing content from another application without crashing once. Has anybody figured out how to stop those bullet points from procreating? How about highlighting just one word, no spaces, please! Want to disable any or all of the 10,598 largely unnecessary features these job-justifiers programmed in? First you need to figure out if it's a Preference, an Option, or something that's Customizable. Then scroll down and keep on scrolling across those mind-numbing phrases that were first written in English, translated into Sanskrit, then into Latin, then pushed through one of those goofy 41 dialect programs on the Web (Latin with a Hillbilly Accent), then translated back into English, and hope you've deselected the right option. They were simply busy doing the business that made them rich and got them in trouble. You've got to punish the programmers themselves for devising such insidious, maddening, horribly designed, awful offal. If they're no longer in Redmond, find out where they work and make their boss fire them. Take away their stock options and hack into their 401 accounts, changing all their long-range holdings into Overseas Tech Investments. The remaining Microsoft programmers -- nay, code-writers everywhere -- would have no choice but to answer to the needs of the people, not to their unimaginative, bullying, monopolistic employers. End of story Send e-mail icon Have a comment on this article? Your use of this website constitutes acceptance of the Lycos 60 Privacy Policy and 61 Terms & Conditions Note: You are reading this message either because you can not see our css files (served from Akamai for performance reasons), or because you do not have a standards-compliant browser.