Ubuntu :: AWK And Extracting Data From Hyperlinks

Mar 29, 2011

I have come across a webpage where there are several (thousands of hyperlinks). Of those hyperlinks, many are named "CDS" and in each of these CDS hyperlink- there are certain lines which i need to chop off!! I kind of have this feeling that AWK would be the one to use.

View 9 Replies


ADVERTISEMENT

Red Hat / Fedora :: Extracting Data From A Xml File Using C?

Feb 11, 2010

I am trying to extract data from the xml file using c coding. here is the sample code. this code gets compiled with errorfree. but the call back functions start and end are not invoked. coding:

#include<stdio.h>
#include<string.h>
#include<expat.h>

[code]...

View 1 Replies View Related

Software :: Extracting Cache Data From FF 4.0?

May 27, 2011

well probably most of you have switched to FF 4.0

my major problem with it however , is the way the cache is stored on the hdd , now everything is sort of "sorted" into an endless number of folders.

i'm wondering why did they do it that way ? how are we supposed to browse the cache folders from now?

btw i've always resorted to the cache folder for extracting all kinds of things the browser downloads..

View 7 Replies View Related

Programming :: C++: Extracting Data From A NESTED STL Map?

Feb 8, 2011

Code for insertion of data:

Code:

#include <map>
#include <iostream>
int main ()

[code]....

I don't know how to fetch the data from the nested map here.

View 5 Replies View Related

Debian :: Mounting .iso Image Versus Extracting Data From .img File?

Feb 28, 2010

I use Lenny, and was trying to mount a .iso image, supposedly a cd imagem.

[code]....

This is what I get from dmesg | tail:

debian:/home/zac/cscd# dmesg | tail
[ 1811.505199] floppy0: disk absent or changed during operation
[ 1811.505207] end_request: I/O error, dev fd0, sector 0

[code]....

I did a little research on the web and it seems that this file is not really a cd image, but simply data in a .img file. What do you think of that?

debian:/home/zac/cscd# file cscd3.iso
cscd3.iso: data

Some people recommend to extract the data via the dd command, but it didn't seem very safe for me to do that!

[URL]

is it possible to extract the data into a directory (instead of a device) using dd? This file is supposed to be a software. I wanted to run it on wine by keeping it mounted on a mount point in my file system. Does it make any sense to try to do this if the file simply isn't a cd image?

View 6 Replies View Related

Programming :: Methods For Extracting Data Strings From Output Files?

Aug 23, 2010

I am trying to develop a method of reading files generated by other programs. I am trying to find the most versatile approach. I have been trying bash, and have been making good progress with sed, however I was wondering if there was a "standard" approach to this sort of thing. The main features I would like to implement concern reading finding strings based on various forms of context and storing them to variables and/or arrays. Here are the most general tasks:

a) Read the first word(or floating point) that comes after a given string (solved in another thread)

b) Read the nth line after a given string

c) Read all text between two given strings

d) Save the output of task a), task b) or task c) (above) into an array if the "given string(s)" is/are not unique.

e)Read text between two non-unique strings i.e. text between the nth occurrence of string1 and the mth occurrence of string2

As far as I can tell, those five scripts should be able to parse just about any text pattern. I am by no means fluent in these languages. But I could use a starting point. My main concern is speed. I intend to use these scripts in a program that reads and writes hundreds of input and output files--each with a different value of some parameter(s).

The files will most likely be no more than a few dozen lines, but I can think of some applications that could generate a few hundred lines. I have the input file generator down pretty well. Parsing the output is quite a bit trickier. And, of course, the option for parallelization will be very desirable for many practical applications.

View 14 Replies View Related

Ubuntu :: Can't Launch Firefox From External Hyperlinks

Jun 21, 2011

When I click on a hyperlink inside a PDF, email (Thunderbird), or other document (ex. AbiWord, LibreOffice) Firefox attempts to launch and it shows in the gnome2 panel (in the window manager with all the other applications) but when I click on it in the window manager to un-minimize/focus Firefox the browser crashes. Odd thing is this is only a problem if the browser is not yet open. If I have previously launched Firefox then click an external link it opens in a new tab just fine. I upgraded from Firefox 4 to 5 and the problem persists. I've only recently noticed this so it could be the result of something I did (installed/uninstalled) though I don't know what I could have done. Or, maybe I never noticed because I almost always have an open browser window.

View 1 Replies View Related

Ubuntu :: Include Several Images With Hyperlinks In My Email Signature?

Jul 26, 2011

My employer has asked me to include several images with hyperlinks in my email signature. Does anyone know how to do that on thunderbird?

View 2 Replies View Related

Software :: Multitasking Hyperlinks In The OpenOffice?

Oct 13, 2010

In Open Office Word Processor. Is it possible to make a hyperlink do two things, or, in other words: accomplish more than one task - but not start the second task until the 1st one is finished. For example play two mp3 files, play them both, but in the appropriate order.

View 10 Replies View Related

Debian Multimedia :: Iceweasel On Install Won't Follow Some Hyperlinks

May 26, 2011

I'm having some major issues with "Iceweasel" on Debian 6.0.1 (squeeze). I've done some extensive google searching but can't really find anything on this issue.

Basically, Iceweasel simply won't follow some links. It seems to spin for a second and then remain on the same page. I haven't been able to find any correlation between the type/style of links and whether or not the browser will work correctly or not when the link is clicked. Also, sometimes if I have multiple tabs open, I'll open gmail in a new tab and it will do nothing. If I exit the app and restart with one new tab, it will correctly bring up gmail (does this with other sites too gmail is just an example).

I actually use Chrome for most stuff now but need FF/Iceweasel for PHP debugging (a Zend Studio plugin not available in Chrome).

how to get more debug info form Iceweasel

I've thought about just installing Firefox but seems I have to do it manually and I'm not convinced that it would make a difference as supposedly the code is the same (?). I may just try it anyway as I'm out of ideas.

Here's the stats:

peter@sendai[vanilla]$ cat /proc/version
Linux version 2.6.32-5-amd64 (Debian 2.6.32-31) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 7 21:35:22 UTC 2011
Iceweasel 3.5.16 (like Firefox 3.5.16)

View 10 Replies View Related

Debian :: Opera On Lenny Doesn't Recognize Hyperlinks

Mar 22, 2009

I've got a box running Etch which seems to have a bad memory controller (I get segmentation faults left, right and centre) so I've built a new 'puter with twice the CPU power (2.4Ghz Intel Q6600 vs Athlon 1000+) and four times the RAM (2Gig vs 512M). I downloaded Lenny three days ago and, apart from some screen resolution issues which I've been discussing in the Newbie forum, most things have been working just fine.

However, I downloaded Opera yesterday (opera_9.64.2480.gcc4.qt3_i386.deb - same version I've been using on the Etch box) and I've seen some strange behaviour. A lot of sites, this one for example, work as expected, but if I go to, for example, www.bbc.co.uk or www.guardian.co.uk, the hyperlinks don't work, the cursor doesn't change to a hand when I hover over the links and clicking over the links doesn't do anything. The same pages work normally using Opera on my Etch box so it seems to be an issue with Lenny, or maybe Gnome on Lenny (I have KDE on the Etch box).

View 3 Replies View Related

Ubuntu :: Crc Failed When Extracting Rar?

Jan 25, 2010

I never had any problems extracting any rar files until about a month or so ago. Now I can't seem to extract ANY video file that has been rared. It is becoming a pain to have to boot into windows just to perform a 15 second task. I dont have any problems with any other files except video files. I get a 'CRC Failed' message. None of my searches have yielded any results. Does anybody know what is causing this problem and how to correct it? Or yet, why it just started happing? I'm using karmic, and was using p7zip-rar until the problem began. The I added unrar and unrar-free but that didn't make any difference.

View 2 Replies View Related

Ubuntu :: Error While Extracting ZIP File Using GUI

May 8, 2010

I have this file that is in ZIP. I can open it and browse the files inside via archive manager. But extracting it gives me an error. When using GUI it says that 'ERROR while extracting files'
and in command line when I command:
unzip -q myfile.zip

It display this errors

file #2109: bad zipfile offset (local header sig): -2122072556
file #2110: bad zipfile offset (local header sig): -2121511988
file #2111: bad zipfile offset (local header sig): -2121511886
file #2112: bad zipfile offset (local header sig): -2121375823
file #2113: bad zipfile offset (local header sig): -2121310073
file #2114: bad zipfile offset (local header sig): -2121282474
file #2115: bad zipfile offset (local header sig): -2121107851
file #2116: bad zipfile offset (local header sig): -2121015601
file #2117: bad zipfile offset (local header sig): -2120957317
file #2118: bad zipfile offset (local header sig): -2120906286
file #2119: bad zipfile offset (local header sig): -2120906193

I just need to find a way to extract my file.

View 4 Replies View Related

Ubuntu :: Extracting Splitted Z Files ?

Jun 24, 2010

I have a bunch of split Z files and I want to extract them but I cannot find how. To be more specific I have a file named foo which is compressed into files foo.0Z, foo.1Z foo.2Z. I have tried uncompress but does not work I have tried gunzip,gzip etc but no result either. Even 7zip will not do the work.

View 4 Replies View Related

Ubuntu :: Extracting Archive From Cdrom

Jul 31, 2010

I am trying to install MySQL, Apache, and PHP onto my Linux Ubuntu laptop from a cdrom that I got from a teach yourself MySQL, Apache, and PHP book I bought. First off there were two steps which i think i did right. The first was to mount the CD-ROM under /mnt in my file system which i did and there seems to be no problem except for the reply "mount: block device /dev/sr0 is write-protected, mounting read-only"

now first of all there are two things I need to explain, first of all I was superuser for all of this by using the command su at the beginning of my terminal session. Second of all the symbol "|" on my line of code above looks different from the symbol in the book. It should have a small space in the middle of it. However it looks like this on my keyboard so I am assuming it is simply a difference in text font. That is it, it would be really nice to figure out what went wrong because to be honest I am curious as to why the book is giving me code that gives multiple errors.

View 4 Replies View Related

Ubuntu :: Error Extracting File From Zip

Oct 9, 2010

I'm trying to extract a file from a zipped archive, and receive an error message saying "caution: filename not matched:".

I suspect the route cause of this is that the original filename contained accented characters (which now show as question marks in the zipped filename). I've tried renaming the file in the archive, but get the same error.

I'm using 9.10 (Karmic).

View 3 Replies View Related

Ubuntu :: Image Extracting From Webpage?

Oct 21, 2010

I recently saved a large number of web pages from a website on my computer and all of them contains images. I needed help extracting all the images from the webpages(all of them) there are about 17000 saved webpages in the folder and all of them have images. I am not sure how to extract images from webpage in batch. google search dint turn up anything.. is there lika a tool or something for the job or should a script be written for it?

View 9 Replies View Related

Ubuntu :: Installing Sun Self-extracting Java Plugin?

Feb 27, 2010

I use ubuntu 8.10 with the ubuntu packaged version of firefox, however i would like to use the latest java runtime environment from the Sun website and NOT use the ubuntu packages. the problem I have is that i do not know where to place the link to my latest java plugin file. Where is the location for mozilla plugins ? the directory ~/.mozilla/plugins didn't exist and even when I created one and put a link there I still had the older version of Java.

View 7 Replies View Related

Ubuntu Multimedia :: Extracting Video From Camcorder

Mar 12, 2010

I've had this camcorder for a while, and my knowledge on them were little back years ago when we got it. Any ways the video is recorded on a tape that comes with it. If I had known then, I would have made sure it was recorded onto the SD card. Anyways there is this old video that I wanted to extract and I have Kino installed and have my camcorder connected to the computer with a firewire cable. Kino/Ubuntu does not seem to recognize an input. Though the camcorder does. Anyone know if there is something I'm supposed to do?

View 1 Replies View Related

Ubuntu :: Install Firefox Tar.bz2 File After Extracting?

Apr 26, 2010

ish but I did manage to right-click the Firefox tar.bz2 file and choose to 'extract here'...now I've got the new extracted folder on the desktop but I'm lost as to how to run the installation of the 3.7 alpha 4 release.

9.10 Wubi with XP until 10.04
Google Chrome
Widmer Drifter Pale Ale
Tommyknocker Pick Axe Pale Ale
1992 Davies Washburn N4 w/ Suhr SSV/DSH+ pups
Jazz and Prog Rock, Dream Theatre & Porcupine Tree

View 9 Replies View Related

Ubuntu :: Program Says Extracting But Doesn't Extract?

May 19, 2010

I just downloaded the unrar extension from the software center, and when I try to extract
a file from a rar archive unto my desktop,ays it extracted the file but nothinghappens.When I press on "Show the Files", it opens the folder which is supposed to contain the files, and they are not there

View 2 Replies View Related

Ubuntu :: Repairing (or Extracting From) HFS + Disk - Can't Mount

Feb 5, 2011

When I hook it up to my Mac the hard drive shows up in Disk Utility but it can't mount it nor fix it. I don't have Diskwarrior (or similar programs) so I was wondering if I could fix it from my Linux boxes (xubuntu). So my question is, is there a program in Linux that could extract the data from the drive or (even better) fix it?

View 1 Replies View Related

Ubuntu :: Clonezilla And Extracting Files From Windows?

Apr 22, 2011

I have a backup of a Windows OS done by Clonezilla but would like to know if its possible to extract the files from a Windows computer from the backup CD where the backup was saved . Can this be done and what software will be able to help.

View 2 Replies View Related

Ubuntu :: CD Won't Eject After Music Extracting Failure

Jul 1, 2011

tried to extract some music using cd juicer[cli: sound-juicer]

now the tray wont open.

View 4 Replies View Related

Fedora :: Extracting Audio From An .avi?

Jun 1, 2010

I've just downloaded a vidio from ..... and converted it to an .avi file. What I want, however, is just the soundtrack as an .mpg to add to my mp3 player. I'm sure Fedora has software to do this, but I don't know enough about audio/video editing to know where to look.

View 4 Replies View Related

Fedora :: Extracting Tar Gz File ?

Aug 9, 2011

My OS is Fedora 14 - 64bit. I want to extract and install this file "LEXMARK-INKJET-LEGACY-wJRE-1.0-1.x86_64.rpm.sh.tar.gz". At the moment this is in the download box in the top left corner of my monitor.

I have tried several ways, but all I get is Command Line Output. Gzip:stdin: unexpected end of file./bin/gtar: unexpcted EOF archive. /bin/gtar: error is not recoverable: exiting now.

View 1 Replies View Related

Red Hat / Fedora :: Extracting Tar Onto Another Server?

Mar 17, 2010

I created a tar of the /var/www/html directory from a live web server and I want to extract it onto another server that will eventually become a backup server to the live server.When I extract the tar file, I see the whole directory structure /var/www/html. How do I extract the file just leaving the contents of the html directory in the directory of the new server?

View 1 Replies View Related

Ubuntu Networking :: Extracting Files For Ndiswrap Failing

Feb 8, 2010

is that my ar928x atheros wireless connection is severely slow. To fix it I've heard ndiswrap and so I've downloaded the XP driver from HP's support site (a pavilion dv7-1450us Notebook PC) and met a brick wall. The file is sp45222.exe and it contains seemingly no .bin .inf or .sys files that ndiswrap dearly requires. I've tried extracting it on a windows machine with UniExtract. This gives only three files one of which UniExtract can extract into a compilation of folders none of which have the required files. I've also attempted to use cabextract on my Ubuntubox, but not cabs come out. I have unshield, if that's relevant at all. What on Earth am I doing wrong?

View 3 Replies View Related

Ubuntu Multimedia :: Extracting Audio From MP4 Video File

Jul 17, 2010

I'm trying to extract the audio from an mp4 video file and convert it to mp3 using ffmpeg. The problem is that the resulting audio file is only 3m2s long, whereas the video file is 8m15s long. Anyone know why the audio file is being truncated? Am I doing something wrong? Apart from being truncated the mp3 file plays perfectly. Here's what ffmpeg has to say about the video file:

Code:
Seems stream 1 codec frame rate differs from container frame rate: 59.83 (59834/1000) -> 29.92 (359/12)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Part1.mp4':
Duration: 00:08:15.60, start: 0.000000, bitrate: 541 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
Stream #0.1(und): Video: h264, yuv420p, 1152x720, 29.92 tbr, 29.92 tbn, 59.83 tbc

And here's the command I'm using to extract and convert the audio:
Code:
ffmpeg -i Part1.mp4 -ab 128k Part1.mp3

View 9 Replies View Related

Ubuntu :: Create Self-extracting Win32 7zip Archive

Jul 20, 2010

I can't do this with File Roller or 7zip, as they aren't executable in Windows. I'd like to model the archive after the link.URL...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved