08-09-2006
Exporting data to MS Excel from UNIX
Hello All,
If we want to export data to MS Excel, it's obvious that we are dealing with some table like structured data.
So no problem... make every record's fields are separated by a comma(,).
suppose if my shell script statement is print $value1","$value2","$value3 >> file.txt
and values are Sharma, 100 and PCS respectively then string that is written onto file.txt is Sharma, 100, PCS.
That's it.
Thanks,
Sharma PCS(sharma.pcs@gmail.com)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
This is the xml file that i have.
- <front-servlet platform="WAS4.0" request-retriever="SiteMinder-aware" configuration-rescan-interval="60000">
<concurrency-throttle maximum-concurrency="50" redirect-page="/jsp/defaulterror.jsp" />
- <loggers>
<instrumentation... (5 Replies)
Discussion started by: nishana
5 Replies
2. Shell Programming and Scripting
give me a shell-script which extract data from log file on a server by giving date and time as input (for both start time and end time) and it will give the logs generated during the given time as output. (4 Replies)
Discussion started by: abhishek27
4 Replies
3. Shell Programming and Scripting
Hello Scripting Gurus,
I need help with extracting data from the XML file using shell script.
The data is in a large XML and I need to extract the id values of all completedworkflows. Here is a sample of it. Input and output data is also in the attached text files.
<wfregistry>... (5 Replies)
Discussion started by: yajaykumar
5 Replies
4. Shell Programming and Scripting
shell script (4 Replies)
Discussion started by: frns5
4 Replies
5. Shell Programming and Scripting
If I have a log like :
Mon Jul 19 05:07:34 2010; TCP; eth3; 52 bytes; from abc to def
Mon Jul 19 05:07:35 2010; UDP; eth3; 46 bytes; from aaa to bbb
Mon Jul 19 05:07:35 2010; TCP; eth3; 52 bytes; from def to ghi
I will need an output like this :
Time abc to def... (1 Reply)
Discussion started by: hitha87
1 Replies
6. Shell Programming and Scripting
Hi,
I am new to shell scripting. I need to extract data between repeating tags from an xml file and store the data in an array to process it further.
<ns1:root xmlns:ns1="http://example.com/config">
<ns1:interface>in1</ns1:interface>
<ns1:operation attribute1="true" attribute2="abd"... (2 Replies)
Discussion started by: sailendra
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 5 columns having values say column 1,column 2.....column 5 as below along with their valuesm.... (1 Reply)
Discussion started by: Vivekit82
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 7 columns having values say column 1,column 2.....column 7 as below along with their values.
Name, Address,... (7 Replies)
Discussion started by: Vivekit82
7 Replies
9. Shell Programming and Scripting
Hi everyone,
I have a csv file which has data with different heading and column names as below.
Static Data Ingested
,,,,,,,,,,,,Known Explained Rejections
Column_1,column_2,Column_3,Column_4,,Column_6,Column_7,,% Column_8,,Column_9 ,Column_10 ,... (14 Replies)
Discussion started by: Vivekit82
14 Replies
10. UNIX for Beginners Questions & Answers
I have this 5GB file, and i want to extract from the file particulars pattern.
this is my script:
//
count=`grep -wc "MSISDN" file_name`
k=1
>OUTPUT
>OUTPUT_Final
while
do
cat file_name | awk -F":" -v var="$k" '$1=="MSISDN" {m++}m==var{print; exit}' >> OUTPUT
cat file_name |awk -F":"... (33 Replies)
Discussion started by: gillesi
33 Replies
LEARN ABOUT DEBIAN
po_gnatdist
PO_GNATDIST(1) General Commands Manual PO_GNATDIST(1)
NAME
po_gnatdist - a tool to build a DSA application with polyorb
SYNOPSYS
po_gnatdist [switches] configuration-file [list-of-partitions]
DESCRIPTION
po_gnatdist is a program let you build distributed applications with GNAT, the GNU Ada 95 compiler. It is part of the POLYORB package.
OPTIONS
po_gnatdist accepts the following options:
all gnatmake switches
-PCS allows the user to override the default selection of distribution runtime library (PCS).
-n allows po_gnatdist to skip the first stage of recompilation of the non-distributed application.
CONFIGURATION FILE
The names of all configuration files must have the suffix .cfg. There may be several configuration files for the same distributed applica-
tion, as the user may want to use different distributed configurations depending on load and other characteristics of the computing envi-
ronment.
PARTITIONS
If a list of partitions is provided on the command line of the po_gnatdist command, only these partitions will be built. In the following
configuration example, the user can type :
po_gnatdist <configuration> <partition_2> <partition_3>
AUTHOR
This manual page was written by Xavier Grave <xavier.grave@ipno.in2p3.fr>, for the Debian GNU/Linux system (but may be used by others).
Most of the material of this man page was grabed on : http://www.adacore.com/wp-content/files/auto_update/polyorb-docs/polyorb_ug.html/
PO_GNATDIST(1)