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

2008/4/7-12 [Computer/SW/Languages/Web] UID:49681 Activity:nil
4/7     What does this mean and how do I decode it?
        Na "Napvrag" Ncevy Sbby'f cenax ba bhe PRB?
        \_ Don't they teach rot 13 in schools these days?
        \_ copy-n-paste it into: cat | rot13
        \_ 'An "Ancient" April Fool's prank on our CEO?'
        \_ Hope I'm not breakign the DMCA here -- rot13 in tr:
        \_ Hope I'm not breaking the DMCA here -- rot13 in tr:
             tr a-zA-Z n-za-mN-ZA-M
2025/07/12 [General] UID:1000 Activity:popular
7/12    

You may also be interested in these entries...
2007/7/6 [Computer/SW/Unix, Computer/SW/Languages/Perl] UID:47196 Activity:high
7/6     my google fu is weak.  How do I match EOF ( tr or perl or sed or any
        linux tool that will do substitutions in a file)? thanks.
        \_ What are you trying to do?
	...
2006/7/12-18 [Computer, Academia/Berkeley/CSUA] UID:43642 Activity:nil
7/13    Is mail working?  Neither incoming nor outgoing mail seems to be
        working.  I've received no email (not even spam) since last night.
        And outgoing mail doesn't seem to be working (or at least it's
        delayed more than a couple minutes).
                I think there are about 50K messages in the queue... -ax
                \_ Is the queue being unqueued.  soda's been up for 3 hours
	...
2005/10/6-9 [Computer/SW/Security] UID:40007 Activity:nil
10/6    What's the easiest way to get the ip from the env var
        SSH_CLIENT="10.10.10.10 1212 22" in bash? I want to use it to
        set the DISPLAY env var.
        \_ see man pages for any/all of: sed, awk, perl, cut, tr (and many
           others).
        \_ Why are you doing this?  ssh will set DISPLAY itself if you
	...
2005/9/24-26 [Computer/SW/Languages/Web, Computer/SW/OS/Windows] UID:39854 Activity:nil
9/24    Any recommendations for extracting text from a WPS file?
        Apparently it was made with MS Works. OpenOffice can't open it
        \_ tr -d "\000-\010\016-\037\177-\377" <  test.wps
	...
2005/8/19-22 [Computer/SW/Unix] UID:39195 Activity:nil
8/19    I have files full of  s that I NEED to squash, nothing I've tried
        works though. (shy of going in with an editor and deleting each one).
        They all exist at the beginning of a line and are followed by another
        strange charcter "»" if that helps.  OS = Linux.
        \_ sed is your friend.
        \_ tr -d
	...
2005/4/15 [Computer/SW/Unix] UID:37200 Activity:very high
4/15    Unix Wizards, how would I sort a list like this in numerical order?
        I can't figure our the sort syntax.  I am not a programmer!
        +0.04gb
        +0.11gb
        +1.98gb
        +10.94gb
	...
2005/1/4-5 [Computer/SW/Unix] UID:35545 Activity:moderate Edit_by:auto
1/4     Hello UNIX command line gurus, let's say I have a file called
        filenames.log that contains file names, like /usr/bin/hello,
        /media/dvd/wayne's world, /media/music/my music!.mpg. I'd like
        to do something like:
        % cat filenames.log | xargs tar rvf /backup/today.tar
        However, I can't do that because I need to escape characters
	...
2004/5/26 [Computer/SW/OS/Linux] UID:30427 Activity:high
5/25    What should I do to remedy this?
        % df
        Filesystem           1k-blocks      Used Available Use% Mounted on
        /dev/sda3            -1022690446876         1         0  33% /
        /dev/sda1            -16257820653         1         0  10% /boot
        /dev/hda1            -5279228168420         1         0  72% /var
	...
2004/1/30 [Computer/SW/Unix] UID:29769 Activity:nil
1/29    sed help.  How do I take a file, and replace all newlines/returns with
        spaces, so that a multi-line file becomes one long line?
        ideally, something like sed "s/$\N/ /g", but this doesn't work.
        \_ need you use sed?  tr works too:  cat /etc/motd | tr -d '\n'
           \_ thanks that rocks.
              \- unless you need to batch process a whole lot of files,
	...
2003/11/18 [Computer/SW/Unix] UID:29642 Activity:nil
11/18   How do you remove newlines with a one-line sed command
        cat /etc/motd | sed "s/\n//"   doesn't do it.
        \_ tr -d "\012" < /etc/motd
           \_ sweet! thanks.
	...