Copy text from web page and add to file


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Copy text from web page and add to file
# 1  
Old 03-24-2016
You need to be more precise, on what you have and what you want.

Is it correct, that you have in a shell variable a string consisting of words separated by spaces, and you want to assign the words to individual shell variables?

For which shell should the solution work?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Converting text file to html page

Hello Everyone, I have the following text file with the each field separated by newline Text file P file1-en-us_US-20170718T150157Z.json Wed 19 Jul 2017 06:10:13 AM EDT P file2-en-us_US-20170718T160150Z.json Wed 19 Jul 2017 06:10:13 AM EDT P file3-en-us_US-20170718T163218Z.json Wed... (9 Replies)
Discussion started by: nextStep
9 Replies

2. Shell Programming and Scripting

Web page with picture, text, php function

Hello. I'm trying to create a web page which the presentation is as follows: 1 °) at the top of page an image 2 °) below the text 3 °) to complete a php function that returns information. I tried different things but none work. Script 1: <!DOCTYPE html> <html> <head> <style> div { ... (5 Replies)
Discussion started by: jcdole
5 Replies

3. Shell Programming and Scripting

Use curl to send a static xml file using url encoding to a web page using pos

Hi I am try to use curl to send a static xml file using url encoding to a web page using post. This has to go through a particular port on our firewall as well. This is my first exposure to curl and am not having much success, so any help you can supply, or point me in the right direction would be... (1 Reply)
Discussion started by: Paul Walker
1 Replies

4. Shell Programming and Scripting

Grep text matching problem with script which checks if web page contains text.

I wrote a Bash script which checks to see if a text string exists on a web page and then sends me an email if it does (or does not e.g. "Out of stock"). I run it from my crontab, it's quite handy from time to time and I've been using it for a few years now. The script uses wget to download an... (6 Replies)
Discussion started by: gencon
6 Replies

5. UNIX for Dummies Questions & Answers

Possible to download web page's text to a file?

Hi, Say there is a web page that contains just text only - that is, even the source code is just the text itself, nothing more. An example would be "http://mynasadata.larc.nasa.gov/docs/ocean_percent.txt" Is there a UNIX command that would allow me to download this text and store it in a... (1 Reply)
Discussion started by: Breanne
1 Replies

6. Shell Programming and Scripting

Perl script to copy contents of a web page

Hi All, Sorry to ask this question and i am not sure whether it is possible. please reply to my question. Thanks in advance. I need a perl script ( or any linux compatible scripts ) to copy the graphical contents of the webpage to a word pad. Say for example, i have a documentation site... (10 Replies)
Discussion started by: anand.linux1984
10 Replies

7. Shell Programming and Scripting

File to web page

Hi all, I am having an XML file. And as per requirement I need to map fields of this file with various field of web page. So how can I use wput command into it ? Regards, gander_ss (3 Replies)
Discussion started by: gander_ss
3 Replies

8. UNIX for Dummies Questions & Answers

Make a Web page

I'm 13 years of age and I am into computers. I am trying to learn how to make a webpage. I could use the help and I would greatly appriciate it. (1 Reply)
Discussion started by: lydia98
1 Replies

9. UNIX for Dummies Questions & Answers

Accessing Web Page

Hello, I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page. Thanks Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies

10. Shell Programming and Scripting

linking unix generated text file to html page

i am trying to link the text files that i generated from my shell script to an html page, to that i can view them using a browser, like internet explorer. i want to open the text files in html page when i enter a command to view the text file from the shell command. please could anyone help... (1 Reply)
Discussion started by: alexd
1 Replies
Login or Register to Ask a Question
otl2pdb(1)						      General Commands Manual							otl2pdb(1)

NAME
otl2pdb - converts vimoutliner outline to AddressDB Palm file. SYNOPSIS
otl2pdb [filename] DESCRIPTION
This manual page documents briefly the otl2pdb Perl script. otl2pdb is a perl(1) script that takes an outline from vimoutliner(1) with contact information and creates an AddressDB.pdb file for a Palm. For now this script can only create a .pdb file. You then have to use a syncing tool to load it into your Palm. I recommend the pilot- link package for linux. The format of the contact outline is the following: $category $record_name c:$cell a:$address .... You can have as many categories and records(entries) as you want. The following are valid fields for a record with the necessary text to indicate them in quotes: 'a:'-address 'c:'-cell 'e:'-email 'h:'-home phone 'n:'-note 'web:'-website 'w:'-work phone Also, each record's category is left as 'Unfiled' as I can't get the record's category to write correctly. SEE ALSO
vim(1), perl(1) REQUIREMENTS
This program uses the Palm::Address perl module, which is available on CPAN. TIPS
If using the pilot-link package: -load the pdb with 'pilot-xfer -i AddressDB.pdb' -specify the serial port if other than /dev/pilot (which will usually be the case unless you link to it) with -p in the above command; usually this is /dev/ttyS0 in linux AUTHOR
The original version was written by Gabriel Walker <cldwalker@chwhat.com>. If you like using perl, linux, vim and databases to make your life easier (not lazier ;) check out my website at http://www.chwhat.com. <http://www.chwhat.com> This manual page was written by Matej Cepl <matej@ceplovi.cz> (using perldoc(1) part of the documented script), for the Debian GNU/Linux system (but may be used by others). January 13, 2005 otl2pdb(1)