Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
42 views

Parse incoming mail in Thunderbird?

I need to parse the title of incoming mails and do some simple checks like "does it include this word/number". I'm familiar with AutoHotkey, batch, PHP... Any ideas? I can't seem to find a plugin ...
0
votes
1answer
39 views

How can I parse data from inside a tag with Applescript?

How can I parse data from inside a tag with Applescript? I know Applescript has the words 3 thru -2 of myTextVariable syntax - but how would I use it to be sure I am just getting This is my text from ...
1
vote
1answer
53 views

Copy files from m3u to destination

I have a playlist, m3u extended, formated like: #EXTM3U #EXTINF:213,2 Tåst - (foo bar) /home/www/Music/Test/test 123 - test.mp3 My problem is, that it seems the line-break is encoded as '\n\r' ...
1
vote
1answer
159 views

How can I parse an XML file from the command line (for GeekTool)?

I'd like to find a Terminal command that can pull the file at http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=SOMEUSERNAME&count=1 and parse it to find a user's Twitter status. ...
1
vote
1answer
58 views

Trying to use XML::Parser and XML::XPath, where do I type the command?

Here's the tutorial I am using, which I have been assured is of high quality by Google: http://www.kitebird.com/articles/mysql-xml.html#TOC_5 Now, what I am trying to do is run some test scripts ...
0
votes
2answers
45 views

lines identical except for their first word, put the first word in a variable

I have file(sudoers) in which lines can be identical except for the first word in them (different users can execute the same set of commands). I am able to extract such a line using the command: # ...
0
votes
1answer
54 views

“Machine-readable” list of states in native name

I'm searching for a list (xml,json,... preferred) which contains all sovereign states (lets define them as the members of the UN only) in their native name(s). ISO-Code for state and language are ...
0
votes
0answers
29 views

Securing data on the web [closed]

I maintain a website that shows a google maps map with a bunch of annotations. These annotations are fetched using JQuery Ajax from a PHP page which in its turn returns an XML list with the data. ...
1
vote
1answer
90 views

How can I open a subset of a large (35MB) .xlsx file?

I have Ubuntu 10.04 running on a Dell Optiplex with 4GB of memory and two 3.16GHz processors. I received a 35MB spreadsheet. It opened in Gnumeric after 5 minutes with errors, and it hasn't opened ...
1
vote
1answer
148 views

Extract data from PDF document to CSV

I would like to convert a stack of financial documents, identically formated, into a CSV file. Here is an example: I have a program to do the OCR (optical character recognition) so that is not the ...
0
votes
1answer
25 views

Last email exchanged in Outlook

I use outlook for all communications with my friends; I want to find out when I last exchanged email from a friend. Normally the emails that I get from my friends are moved to folders in outlook. Is ...
0
votes
1answer
213 views

Batch convert lit -> txt [convert from one text format to another in a batch]

Is there a tool to BATCH! convert a folder of lit files to a different, plain-text would be the best choice, format?
3
votes
3answers
366 views

How to use grep to match domain names?

I have a list of urls like: hxxp://url.com/subpage.html hxxp://www.url2.com/index.php hxxp://subdomain.url3.com/somepage.php ... How can I use grep to match the domain names only? All the urls ...
4
votes
2answers
1k views

Import json data into Excel

I have a text file in json format and want to read it into Excel. A very simplified example of the json file has the following structure: { [ { 'a': 10, 'b': 20 }, { 'a': 20, 'b': 22 }, { 'a': ...
1
vote
0answers
279 views

Retrieving a registry variable in a batch script

I wish to write a batch script (windows XP) that extracts certain installation paths from the registry. How would one go about writing such a script? I have written the following - I am (as you ...
1
vote
3answers
245 views

How Do I Parse a String?

I am new to bash, and I am creating a script that loops through the files in a directory and based on part of the filename, does something with the file, so far I have this: #!/bin/bash ...
4
votes
1answer
580 views

Shell scripting: Way to parse parameters from command line

myscript [-a a-arg] [-c c-arg] [-b] [-e] somedirectory Given that I want my shell script be invoked at the command line using the above parameters - where [these brackets] denote that they are ...
0
votes
1answer
66 views

automatic manipulation of email messages

Does it exist any web service that "filters" any email message allowing to change the subject or the content on a regexp basis and then forward it to my webmail address? For example: I want to append ...
1
vote
2answers
261 views

Capturing and parsing xterm cut buffer in emacs

I'd like to make an indirect control for Emacs (in Ubuntu Linux) so that I can swipe some text in an xterm with the cursor, cutting it into the X cut buffer, then run a macro in Emacs to parse the ...
0
votes
2answers
400 views

I installed and ran Heritrix Web Crawler. It stored data in .arc.gz files

If you have used Heritrix Web Crawler, I'd really appreciate your help. 3 questions: An arc file probably contains source codes of MANY pages in there. How do I figure out which is which? How do I ...
7
votes
5answers
733 views

Automatic parsing of citation text in academic references

Is there any software (or pseudo-code) which can automatically scan a piece of text (either pasted into the tool, or read from a .doc/.pdf) and identify citation data using standard formats? The data ...