08-03-2014
Quote:
Originally Posted by
Don Cragun
If you can't show us some sample input and show us what you are hoping to get out of it, there is very little we can do to help you.
Show us your input. Show us the output you want. Show us the code you have tried and explain what isn't working for you.
Don't you understand he is unable to think a way out. If he could write the code why would he come to ask for help. He has an idea but not the necessary coding skills. So all is he asking for some code snippets. If he himself could write the code and counters some error he would Google it not post it here. I have faced this kind of situation once and it's really very frustrating.
This User Gave Thanks to LoneRanger For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two computers with dynamic IP addresses and am using dyndns so that they are identifiable as the same computer even if their IPs change (we'll call them host1.dyndns.com and host2.dyndns.com). I also have a remote server which I would like to store my computers' IP addresses on. There is a... (9 Replies)
Discussion started by: kerpm
9 Replies
2. UNIX for Dummies Questions & Answers
I am executing a stored proc and sending the results in a log file. I then want to grab one result from the output parameters (bolded below, 2) so that I can store it in a variable which will then be called in another script. There are more details that get printed in the beginning of the log file,... (3 Replies)
Discussion started by: hern14
3 Replies
3. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
4. Shell Programming and Scripting
Hi everyone,
Need your help creating a script that downloads a website after entering the URL e.g. Google, and parses its contents for URL's and appends the output to a text file in this format:
http://grabbed-url-from-downloaded-website.com/
http://another-url-from-downloaded-website.com/
... (3 Replies)
Discussion started by: ogoy
3 Replies
5. Shell Programming and Scripting
Hello all I hope someone can help me. I am trying to convert something I wrote in C to bash.
But how do I go about reading more than one item at a time in a for loop?
i have been using this format for the loops in the bash script i have been building.
e.g.
for word in `cat -s... (4 Replies)
Discussion started by: Intense4200
4 Replies
6. Shell Programming and Scripting
I have a process that is running locally on the machine.
When you telnet to the process: telnet IP port, it automatically returns a string which shows the status of that process.
Something like this:
# telnet IP Port
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape... (3 Replies)
Discussion started by: skaptakalian
3 Replies
7. UNIX for Dummies Questions & Answers
Hi folks;
I have a temperature sensor that configured with an IP address so we can open a browser to see the temperatures in our 3 labs all showing in one screen.
I'm trying to write a script to call this link then email me the results/output so i don't have to open a browser manually every... (3 Replies)
Discussion started by: Katkota
3 Replies
8. Shell Programming and Scripting
ok, so a script i wrote spits out an output like the below:
2,JABABA,BV=114,CV=1,DF=-113,PCT=99.1228%
as you can see, each field is separated by a comma. now, how can I get rid of the first field and ONLY show the rest of the fields.
meaning,
i want to get rid of the "2,", and... (3 Replies)
Discussion started by: SkySmart
3 Replies
9. Shell Programming and Scripting
I have several .csv files containing data like this:
field_1;field_2;date;comment;amount;
I want to extract the 3 last fields and load them in a database.
my input_file = "/dir/file.csv";
my output_file = "/dir/file.sql";
open my $csv_file, '<', $input_file
or die "Can't... (1 Reply)
Discussion started by: freddie50
1 Replies
10. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
html2markdown.py3
HTML2MARKDOWN(1) User Commands HTML2MARKDOWN(1)
NAME
html2markdown - converts a page of HTML into markdown.
SYNOPSIS
html2markdown [options...] [(filename|url) [encoding]]
DESCRIPTION
html2markdown downloads the specified HTML page, and converts it to text marked up with markdown. The source HTML page may be a local file
or remote URL. If not specified, it will be read from standard input. The output is printed to standard output.
If an encoding is specified, it will override any encoding information provided by the HTTP Server. When not specified, python-feedparser
(if available) will be used to determine the source encoding. If not available, or when reading local files, the encoding is assumed to be
UTF-8.
OPTIONS
--ignore-emphasis
Don't include any formatting for emphasis.
--ignore-links
Don't include any formatting for links.
--ignore-images
Don't include any formatting for images.
-g, --google-doc
Convert an html-exported Google Document.
-d, --dash-unordered-list
Use a dash rather than a star for unordered list items.
-b BODY_WIDTH, --body-width=BODY_WIDTH
Number of characters per output line, 0 for no wrap.
-i LIST_INDENT, --google-list-indent=LIST_INDENT
Number of pixels Google indents nested lists.
-s, --hide-strikethrough
Hide strike-through text. Only relevant when -g is specified as well.
--version
Show program's version number and exit.
-h, --help
Show a help message and exit.
AUTHOR
This manpage was written for Debian, by Stefano Rivera <stefanor@debian.org>.
html2markdown 3.200.1 January 2012 HTML2MARKDOWN(1)