HI guys,
I have created a script to read 1 column in a csv file and then place it in text file.
However, when i checked out the text file, it is not in a column format...
Example:
CSV file contains
name,age
aa,11
bb,22
cc,33
After using awk to get first column
TXT file... (1 Reply)
I have a csv file which I need to process and export back to xlsx file.
For instance, the csv contains:
John Smith, job-title, hours
John Smith, job-title, hours
Mary Smith job-title, hours
etc.
I need to import that to a script, get id of redundant data i.e:
John smith, job-title,... (13 Replies)
Hi,
i want to disply the o/p in HTML format from unix environment.
Let me explain my requirement.
First an automated email should be sent in HTML format. The report contains number of error on a daily basis for this week.
email looks like below,
01-04-2010 1000
02-04-2010 ... (3 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)
Hi All,
I have an csv file with three rows, where first containing header deatils. is there any way to make the first row to appear bold using UNIX command.
Input File:
Name Rank
arun 1
babu 2
Expected Output:
Name Rank
arun 1
babu 2 (7 Replies)
Hi,
I need to make some changes in a csv file using awk or perl. Unfortunately, all my attempts have led to nothing so I hope you guys can help me.
I have the following example input file including header(original file has 35 fields):
ABC: DE
Time: 2012/09/07... (3 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
I'm just wondering is there any way to capture the output of a unix command in a csv format.
df -h gives the result of filesystem,free space,Used space, use %,mounted on.
Is there a way to capture the command output and format it as comma sparated or fixed length file. (3 Replies)
Hi All,
I'm new to forum good to hear all.
I stuck in converting date format in csv file using unix
csv file contains as below
,750,0000000000000000GCJR, ,06/22/2016 14:48:44
I want to convert into as below
,750,0000000000000000GCJR, ,06/22/2016 02:48:44 PM
Please reply asap..... (22 Replies)
Discussion started by: Raghureds
22 Replies
LEARN ABOUT DEBIAN
dbfcreate
SHAPELIB(1) User Commands SHAPELIB(1)NAME
dbfcreate - Create an empty xBase DBF file
SYNOPSIS
dbfcreate filename[[-s fieldname width] | [-n fieldname width decimals]]...
DESCRIPTION
Creates an empty DBF file called filename with columns described by all the -s and -n options that follow.
OPTIONS -s fieldname width
adds a column named fieldname taking textual values of at most width characters.
-n fieldname width decimals
adds a column named fieldname taking numeric values of at most width digits and precision of at most decimals decimal places. The
number of digits of precision should be included in width.
EXIT STATUS
0 Successful program execution.
1 Missing filename argument.
2 Failed to create the file filename for writing.
3 Missing fieldname,width, or decimals argument for a -s or -n option.
4 Failed to add a column given by a -s or -n option.
DIAGNOSTICS
The following diagnostics may be issued on stdout:
DBFCreate(filename) failed.
DBFAddField(fieldname,FTString,width,0) failed.
DBFAddField(fieldname,FTDouble,width,decimals) failed.
Argument incomplete, or unrecognised: arg
AUTHORS
Frank Warmerdam (warmerdam@pobox.com) is the maintainer of the shapelib shapefile library. Joonas Pihlaja (jpihlaja@cc.helsinki.fi) wrote
this man page.
SEE ALSO dbfadd(1), dbfdump(1), dbf_dump(1), shpadd(1), shpcreate(1), shpdump(1), shprewind(1)shapelib OCTOBER 2004 SHAPELIB(1)