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:
...
|
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/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.
...
|
2012/3/15-6/1 [Computer/SW/Languages, Computer/SW/OS/Windows] UID:54340 Activity:nil | 3/15 Why does MS put double-quotes around the '8' in Windows Server 8, like
the following?
- Windows 8
- Windows Server "8"
\_ Because when they didn't do it, code didn't see the '\0'
and went over? Looks better than '8','\0' *shrug*
...
|
2011/3/7-4/20 [Computer/SW/Languages/C_Cplusplus] UID:54056 Activity:nil | 3/7 I have a C question. I have the following source code in two identical
files t.c and t.cpp:
#include <stdlib.h>
int main(int argc, char *argv[]) {
const char * const * p1;
const char * * p2;
...
|
2009/10/29-11/3 [Computer/SW/Database, Industry/Jobs] UID:53480 Activity:nil | 10/28 I live in the Los Angeles area and a lot of jobs near me hire
people who are 1) Front End developer 2) ASP .NET Developer and/or
3) MS SQL DBA. Are these things common in Silicon Valley? I don't
remember seeing so much M$ requirements when I lived in the
Bay Area several years ago.
\_ tons for it and enterprise apps. more rarely for cool startups
...
|
2009/7/28-8/6 [Computer/SW/Database] UID:53213 Activity:nil | 7/27 I have an actual technical question here. My MySQL DBA tells me
that I can't expect a MySQL port to be able to run effectively
on more than a two CPU box, he says that the extra CPUs will
sit there unused. Is this true? I have a bunch of new quad core
servers that I would like to use as Database machines. -ausman
\_ It's not that simple. If you stress test your new fancy multi core
...
|
|