Sponsored Content
Top Forums Shell Programming and Scripting NWS CLI data Coverting to .CSV file Post 302883438 by Cambium27 on Tuesday 14th of January 2014 07:52:16 AM
Old 01-14-2014
Quote:
Originally Posted by matrixmadhan
Yes, its still difficult for me to understand. Lets try this, please post a sample input and output that you are looking for, then we can take it from there.
Thanks for replying, give me few minutes, working on a post now...

---------- Post updated at 07:49 AM ---------- Previous update was at 07:43 AM ----------

Ok, so I exported the CLI data from this link into Excel

Then I used "text to columns" to separate the data.

Then I used a formula you can see at top right that grabs the specific snow total data I'm looking for.

I'm hoping when I refresh the new data gets put into the same cells and my formula updates..(it should)

Image

---------- Post updated at 07:52 AM ---------- Previous update was at 07:49 AM ----------

This is all great and easy for me to look at and work with, however, how do I get this onto the web and into a better graphic table? I assume I need a webpage first, right?

Here is an example of what I would love to do... This guy grabbed all the data and had it available like this on his site (which now disappeared because he got sick).

Not sure if this is even off topic, I thought it has to do with getting the script to convert into csv file. No idea.

Image
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script to Load data into the database using a .csv file and .ctl file

Since i'm new to scripting i'm findind it difficult to code a script. The script has to be an executable with 2 paramters passed to it.The Parameters are 1. The Control file name(.ctl file) 2. The Data file name(.csv file) Does anybody have an idea about it? :confused: (3 Replies)
Discussion started by: Csmani
3 Replies

2. Programming

coverting html data to text in 'c'

hi, iam reading the webpage using curl socket. so iam geting the data in html format so how can convert html data to text data ,so i can move forward. thank u, sree (3 Replies)
Discussion started by: phani_sree
3 Replies

3. Shell Programming and Scripting

extracting data from a .csv file

I have a .csv file equipment,bandtype abc,aws def,mmds ghi,umts jkl,mmds I can get the equipment from `hostname`. In my script i want to check what is the hostname. then see if it exists in the.csv file. if it does then i want to store the second parameter(bandtype) for the corresponding... (3 Replies)
Discussion started by: lassimanji
3 Replies

4. Linux

Coverting a log file into XML

ID -------CODE-------DATE-------URL I have a log file with entries like this. The file has about 6 lakhs record and the size is about 42MB. I need to covert them into a XML file like <ID></ID> <CODE></CODE> <DATE></DATE> <URL></URL> I have done a logic for this and successfully done.... (0 Replies)
Discussion started by: arunkumar.in
0 Replies

5. Shell Programming and Scripting

I want to append data to same .csv file.

I have a script which has to be scheduled to run 3 times a day. My script picks the required fields from logfile and stores the data in a.csv file. Sample data. my logfile contain: 0097A,0374D,100903,1519,00000606191 0097A,C88RA,100903,0724,00000606105 So the output of first execution... (3 Replies)
Discussion started by: shrima.pratima
3 Replies

6. Shell Programming and Scripting

How to extract data from csv file

Hello everybody, Here is my problem, I don't know anything about shell programming and my boss is actually asking me to develop a shell script in order to get values in a csv file from a specific date. Here is a sample of the csv file : Date;Enchaînement;Titre;Libellé ;calendrier;Heure début;Heure... (11 Replies)
Discussion started by: freyr
11 Replies

7. Shell Programming and Scripting

Fetching data from .csv file

Hi Experts, I have created a table with columns as empname,empid,phone,shiftname. Now I am having a .csv file format which contains the shift datas of the employees. I have to fetch this file and compare with the table I created to send an alert to the specified user. (2 Replies)
Discussion started by: micky3112
2 Replies

8. Shell Programming and Scripting

Data Manipulation on a .csv file

Hallo Friends, I need you help. My file has 5000 or so lines and currently looks like below(sample). Service Type,Origin,Destination,Rate Per Minute,Minimum Charge,Time Based Rate,Time Based From Day,Time Based To Day,Time Based From Time,Time Based To Time,Destination Prefix List,, VoIS... (3 Replies)
Discussion started by: kekanap
3 Replies

9. Shell Programming and Scripting

CSV file data extraction

Hi I am writing a shell script to parse a CSV file , in which i am facing a problem to separate the columns . Could some one help me with it. IN301330/00001 pvavan kumar limited xyz@ttccpp.com IN302148/00002 PRECIOUS SECURITIES (P) LTD viash@yahoo.co.in IN300239/00000 CENTRE india... (8 Replies)
Discussion started by: nanduri
8 Replies

10. Shell Programming and Scripting

Compare 2 files of csv file and match column data and create a new csv file of them

Hi, I am newbie in shell script. I need your help to solve my problem. Firstly, I have 2 files of csv and i want to compare of the contents then the output will be written in a new csv file. File1: SourceFile,DateTimeOriginal /home/intannf/foto/IMG_0713.JPG,2015:02:17 11:14:07... (8 Replies)
Discussion started by: refrain
8 Replies
REPORT-CLI(1)							 LIBREPORT MANUAL						     REPORT-CLI(1)

NAME
report-cli - Work with ABRT problem directories from command line. SYNOPSIS
report-cli [-vsp] -L[PREFIX] [PROBLEM_DIR] report-cli [-vsp] -e EVENT PROBLEM_DIR report-cli [-vsp] -a[y] PROBLEM_DIR report-cli [-vsp] -c[y] PROBLEM_DIR report-cli [-vsp] -r[y|o|d] PROBLEM_DIR DESCRIPTION
report-cli is a command line tool that manages application crashes and other problems caught by abrtd daemon, or created by other programs using libreport. It enables access to, manipulation of problem data, and reporting. OPTIONS
-L[PREFIX] List possible events [which start with PREFIX] -e EVENT Run EVENT on PROBLEM_DIR -a, --analyze Run analyze event(s) on PROBLEM_DIR -c, --collect Run collect event(s) on PROBLEM_DIR -r, --report Analyze, collect and report problem data in PROBLEM_DIR -d, --delete Remove PROBLEM_DIR after reporting -y, --always Noninteractive: don't ask questions, assume positive answer to all of them -o, --report-only With -r: do not run analyzers, run only reporters -v, --verbose Be verbose -s Log to syslog -p Add program names to log -V, --version Display version and exit AUTHORS
o ABRT team LIBREPORT 2.1.11 06/18/2014 REPORT-CLI(1)
All times are GMT -4. The time now is 03:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy