Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 12 declined, 3 accepted (15 total, 20.00% accepted)

×

Submission + - Manning's Gender Identity raised in Wikileaks case (washingtonpost.com)

orangesquid writes: "This news is a few weeks old, but I don't think it has been mentioned on slashdot yet. The Washington Post is reporting on Bradley Manning's various psychological issues, including hir gender identity (classified by the DSM under "gender identity disorder," a controversial designation since items like sexual orientation are no longer considered disorders). CNN also has a similar story. The Washington Post article describes Manning as a 'a gifted intelligence analyst', an interesting topic considering that some ongoing research has suggested a correlation between transsexualism and increased IQ. Some opinions suggest transsexualism to be correlated with a greater capacity for creativity, an often invaluable part of deeper insight. Various studies on gender and empathy sometimes suggest a link, perhaps substantiating the notion that Manning's desire to leak classified information was driven by hir own internal sense of ethics. Any thoughts, slashdotters? Given the particular sensitivities of this topic, I hope that flaming/trolling will be kept to a minimum, but intelligent/insightful discourse and humor done in good taste will surely be appreciated!"

Submission + - Shell 'string escape' tool?

orangesquid writes: "[NOTE! TO! EDITOR!!!! — in dillo, there's no dropdown box to select story category, such as "Ask Slashdot", etc. Since I've already typed this up, I just ask that you assign the category correctly; for future reference for the slashcode workers, it might be a good idea to test against dillo, as it adheres to HTML standards and does not utilize scripting, so it effectively encompasses how Lynx, Wget's link-evaluating engine, and many other tools probably see the slashcode-HTML.]

I wanted to ask: is there a shell tool (besides the sed/awk/bash/perl scripts I've cooked up on the fly) that is dedicated to *escaping*? In the Unix tradition of "one small tool that does its job well," I would expect there to be a tool floating around that was very, very good at escaping strings for nearly any purpose (escaping for HTML3, XML; grep/sed regex, extended grep regex, perl regex; bash glob strings w/ and w/o extglob, etc), dedicated to doing that and *only* that. However, after googling, looking through GNU's site, checking previous Ask Slashdot-s, and scouting freshmeat, I haven't found any dedicated tools. I have found plenty of small scripts for dedicated purposes, but I have found no tools for general string escaping. What I envision is something that can take strings line-by-line, word-by-word, or NUL-byte--by--NUL-byte, and escape a number of string components of various forms (HTML or XML entities, ANSI [or other terminal] escape sequences, regex special characters, etc). Does such a tool exist? If not, I would definitely write one, but I don't want to duplicate someone else's work to no useful end!"

Slashdot Top Deals

So you think that money is the root of all evil. Have you ever asked what is the root of money? -- Ayn Rand

Working...