Hi,
I have a file with 3 fields in csv format:
I would like to split fields in order to obtain the following: Line1: Line2:
Can't find my way through it!
How would you do that?
Thanks for your help.
Santiago
Hi
I have a CSV file with me in this format
Currency, USD, EUR,
USD, 1.00, 1.32,
EUR, 0.66, 1.00,
How do I transpose the file to get to the format below.
currency, currency, rate
USD, USD, 1.00
USD, EUR, 1.32
EUR, USD, 0.66
EUR, EUR, 1.00
Thanks for your help
We are using... (2 Replies)
Folks,
I have a bit of an issue trying to obtain some data from a csv file using PERL. I can sort the file and remove any duplicates leaving only 4 or 5 rows containing data. My problem is that the data contained in the original file contains a lot more columns and when I try ro run this script... (13 Replies)
I am writing a unix script that will parse a CSV and edit the values. My CSV looks like this
0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0
10,11,7,0,4,12,2,3,7,0,11,3,12,4,0,5,5,4,5,0,8,6,12,0,9,3,3,0,2,7,8... (16 Replies)
Hi,
It's been a few years since college when I did stuff like this all the time. Can someone help me figure out how to best tackle this problem? I need to parse a file full of entries that look like this:
<eq action="A" sectyType="0" symbol="PGR" exch="CA" curr="VEF" sess="NORM"... (7 Replies)
Hi,
Our requirement is to parse the input file(.csv format). The each column in the file is delimited with comma. We need to take each column and apply some business validation rule.
If data itself contains comma, then those fields are enclosed with double quotes ("). We can see this double... (7 Replies)
Hi All,
I have created a Unix Shell script whch creates a *.csv file and export it to Excel.
The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example :
if the Amount has the value as 3000000 User wants to be in 3,000,000 format.
This Amount format... (2 Replies)
Hello Expert,
I have a file in the following format:
SYNTAX_VERSION 5
MONITOR "NAME_TEMPLATES"
DESCRIPTION "Monitors for contents of error "
INTERVAL "1m"
MONPROG "script.sh NAME_TEMPLATES"
MAXTHRESHOLD
GEN_BELOW_RESET
SEVERITY Major
... (17 Replies)
HI all
I have multiple csv files with the names
VAR1_VAR2_VAR3_VAR4.csv
All the files have the same structure inside just values change.
I am trying to retrieve data from those files by fixing at each time one or more VAR.
I tried to write a script but I have 2 problems:
2-... (1 Reply)
My source file looks like this:
Cust-Number = "101"
Cust-Name="Joe"
Cust-Town="London"
Cust-hobby="tennis"
Cust-purchase="200"
Cust-Number = "102"
Cust-Name="Mary"
Cust-Town="Newyork"
Cust-hobby="reading"
Cust-purchase="125"
Now I want to parse this file (leaving out hobby) and... (10 Replies)
I am not too savvy with arrays and am assuming that what I am looking for needs arrays. This is my requirement.
So I have the raw data that gets updated to a log as shown below
StudentInfo:
FullInfo = {
Address = Newark
Age = 20
Name= John
}
StudentInfo:... (2 Replies)
Discussion started by: sidnow
2 Replies
LEARN ABOUT DEBIAN
guilt-new
GUILT-NEW(1) Guilt Manual GUILT-NEW(1)NAME
guilt-new - Create a new patch
SYNOPSIS
guilt-new [-f] [-s] [-e|-m message] <patchname>
DESCRIPTION
Create a new patch and push it on top of the stack. An optional patch description can be supplied either interactively on via the command
line.
OPTIONS -f
Force patch creation if there are unrefreshed changes. These changes will get automatically imported into the new patch.
-s
Add a Signed-off-by with your committer identifier string to the patch message.
-e
Edit the patch message interactively. This option can be combined with -s to easily sign off on the patch.
-m <message>
The "<message>" string will used as the commit message. This option can be combined with -s to easily sign off on the patch.
<patchname>
Name of the patch to create. This must be a legal relative pathname string. For example, "foo", "foo/bar", and "foo/bar/foobar" are all
valid.
EXAMPLES
Create a new patch called foobar:
$ guilt-new foobar
Create a patch called foo and supply a patch description interactively:
$ guilt-new -e foo
Create a patch called bar with a provided patch description and sign off on the patch:
$ guilt-new -s -m patch-fu bar
AUTHOR
Written by Josef "Jeff" Sipek <jeffpc@josefsipek.net[1]>
DOCUMENTATION
Documentation by Josef "Jeff" Sipek <jeffpc@josefsipek.net[1]>
GUILT
Part of the guilt(7) suite (Generated for Guilt v0.35)
NOTES
1. jeffpc@josefsipek.net
mailto:jeffpc@josefsipek.net
Guilt v0.35 01/20/2013 GUILT-NEW(1)