Sponsored Content
Special Forums UNIX and Linux Applications Tool for Convert XLS into CSV in UNIX Post 302426701 by figaro on Wednesday 2nd of June 2010 04:31:48 PM
Old 06-02-2010
Thanks all for sharing. CSV to XLS and vice versa are common operations.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

WINDOWS to UNIX : xls to csv

Hi, I need to ftp a .xls file from WINDOWS to UNIX. When I do it, the file coversion doesn't happen(??) or UNIX doesn't recognixe this format I know not. But there will be junk values in the ftp'd file. Note: The ftp will be done by a script and I don't think we could place a WINDOWS script on... (5 Replies)
Discussion started by: preethgideon
5 Replies

2. Shell Programming and Scripting

Convert a csv file to an xls format

Hi, I have a file coming in xxx.txt(csv format) i do some work on it and i need to send out as a .xls format. Is there any way there is some code i can use in my script to convert this? I'm struggling on this. Thanks (11 Replies)
Discussion started by: Pablo_beezo
11 Replies

3. UNIX for Dummies Questions & Answers

Unix script to convert .csv file to.xls format

I have a .csv file in Unix box i need a UNIX script to convert the.csv files to.xls format. Its very urgent please help me. (1 Reply)
Discussion started by: moon_friend
1 Replies

4. Shell Programming and Scripting

converting xls file to txt file and xls to csv

I need to convert an excel file into a text file and an excel file into a CSV file.. any code to do that is appreciated thanks (6 Replies)
Discussion started by: bandar007
6 Replies

5. Shell Programming and Scripting

Shell convert xls to csv

Hi does anybody know how to convert xls to csv undex linux. I need only data (that is log from test, dont need any macro and so on) from xls. Any idea how to do that? Perl? shell? Could you give me any example? Thanks in advance for answer. Gracjan (4 Replies)
Discussion started by: Gracjan
4 Replies

6. Shell Programming and Scripting

how to convert XLS to CSV and DOC/RTF to TXT

Hi, i don't know anything about PERL. Can anyone help me providing PERL scripts for 1. converting XLS to CSV (and vice-versa) 2. converting DOC/RTF to TXT Thanks much Prvn (1 Reply)
Discussion started by: prvnrk
1 Replies

7. Shell Programming and Scripting

how to convert .xls to .csv

Hi, I have problem..How to convert .xls file to .csv.. Plz help me for this problem.. (1 Reply)
Discussion started by: varma457
1 Replies

8. AIX

How to convert csv file to xls file

Hi All, I have a java program running in AIX machine which gives me the output in form of .CSV but my clients wants output in the form of .xls When I gave the command mv <filename.csv> <filename.xls> The contents of this .xls file is not exactly in seprate columns as in CSV, the contents... (1 Reply)
Discussion started by: chetu777
1 Replies

9. Shell Programming and Scripting

How to convert a xls file to csv?

Hi, My requirement is to convert the xls to csv file with utf-8 conversion. Is there any way please suggest me. Thanks, Raja (4 Replies)
Discussion started by: cnraja
4 Replies

10. Shell Programming and Scripting

Perl script to Convert XLSX or XLS files to CSV file

Hi All, I've got in a situation where I need to convert .xlsx or .xls formatted files into simple text file or .csv file. I've found many options but doing this using PERL script is the best way I believe.I'm in AIX box. Perl code should have 2 params while running. i.e perl... (1 Reply)
Discussion started by: manab86
1 Replies
LedgerSMB::Template(3pm)				User Contributed Perl Documentation				  LedgerSMB::Template(3pm)

NAME
LedgerSMB::Template - Template support module for LedgerSMB SYNOPSIS
This module renders templates. METHODS
new(user => \%myconfig, template => $string, format => $string, [locale => $locale] [language => $string], [include_path => $path], [no_auto_output => $bool], [method => $string], [no_escape => $bool], [debug => $bool], [output_file => $string] ); This command instantiates a new template: template The template to be processed. This can either be a reference to the template in string form or the name of the file that is the template to be processed. format The format to be used. Currently HTML, PS, PDF, TXT and CSV are supported. format_options (optional) A hash of format-specific options. See the appropriate LSMB::T::foo for details. output_options (optional) A hash of output-specific options. See the appropriate output method for details. locale (optional) The locale object to use for regular gettext lookups. Having this option adds the text function to the usable list for the templates. Has no effect on the gettext function. language (optional) The language for template selection. include_path (optional) Overrides the template directory. Used with user interface templates. no_auto_output (optional) Disables the automatic output of rendered templates. no_escape (optional) Disables escaping on the template variables. debug (optional) Enables template debugging. With the TT-based renderers, HTML, PS, PDF, TXT, and CSV, the portion of the template to get debugging messages is to be surrounded by <?lsmb DEBUG format 'foo' ?> statements. Example: <tr><td colspan="<?lsmb columns.size ?>"></td></tr> <tr class="listheading"> <?lsmb FOREACH column IN columns ?> <?lsmb DEBUG format '$file line $line : [% $text %]' ?> <th class="listtop"><?lsmb heading.$column ?></th> <?lsmb DEBUG format '' ?> <?lsmb END ?> </tr> method/media (optional) The output method to use, defaults to HTTP. Media is a synonym for method output_file (optional) The base name of the file for output. available_formats() Returns a list of format names, any of the following (in order) as applicable: HTML (always available) TXT (includes CSV, always available)) PDF PS XLS ODS new_UI(user => \%myconfig, locale => $locale, template => $file, ...) Wrapper around the constructor that sets the path to 'UI', format to 'HTML', and leaves auto-output enabled. render($hashref) This command renders the template. If no_auto_output was not specified during instantiation, this also writes the result to standard output and exits. Otherwise it returns the name of the output file if a file was created. When no output file is created, the output is held in $self->{output}. Currently email and server-side printing are not supported. output This function outputs the rendered file in an appropriate manner. my $bool = _valid_language() This command checks for valid langages. Returns 1 if the language is valid, 0 if it is not. column_heading() Apply locale settings to column headings and add sort urls if necessary. escape($string) Escapes a scalar string if the format supports such escaping and returns the sanitized version. Copyright 2007, The LedgerSMB Core Team This file is licensed under the GNU General Public License version 2, or at your option any later version. A copy of the license should have been included with your software. perl v5.14.2 2012-05-30 LedgerSMB::Template(3pm)
All times are GMT -4. The time now is 07:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy