05-16-2007
How to format excel sheets in UNIX??
Hi,
I have generated an excel sheet using a shell script. i have converted the output text file to an excel and got the desired output. However, in a particular column in the excel the values of the numbers start with 0.
e.g. 078393343, 00342442, etc.
But, in the resulting excel I get as 78393343,34244.
Is there any way to format this in UNIX?
i.e is there any way to format those numbers into text values....so that the resulting spreadsheet displays correctly along with the zero.
Thanks,
Vijayakumar.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I have a question about using C to write excel file.
There is a way to write into a sheet into a file excel, like this:
FILE * File;
pMyFile = fopen("test.xls", "w+");
fprintf(File, "\n\n"); /* go to the row 2 of the column A*/
fprintf(File, "%s", "Hi pippo!"); /* write... (7 Replies)
Discussion started by: manceryder
7 Replies
2. Shell Programming and Scripting
Hi,
There is this requirement to create multiple work sheets in an MS Excel file through UNIX.
We normally can create one work sheet in unix by either tab or comma delimiting and appending .xls or .csv to the file name, but can we create multiple work sheets.
Regards,
Puspendu (1 Reply)
Discussion started by: puspendu
1 Replies
3. Shell Programming and Scripting
Hi All,
I have 4 excel files and i want to combine these 4 files into a single workbook .. my constraints is each work sheet should go to a seperate sheet or tab with sheet name ..
my final workbook should have 4 tabs(sheets) each for one.
Thanks in Advance.. (3 Replies)
Discussion started by: jagadish99
3 Replies
4. Shell Programming and Scripting
Hi,
I am using Solaris 8. My script outputs 4 .csv files. Currently I am SFTPing the files and creating a new excel file with the 4 files as sheets.
Can anyone suggest ways to do this in UNIX ?
Thanks,
David. (2 Replies)
Discussion started by: libin4u2000
2 Replies
5. Shell Programming and Scripting
Hi,
I need your help in sedning sql queries output to different excel sheets.
My requirement is like this:
Query1: Select name from table1 where status = 'Complete'
Query2: Select name from table1 where status = 'Failed'
Query3: Select name from table1 where status = 'Ignored'
... (4 Replies)
Discussion started by: parvathi_rd
4 Replies
6. Shell Programming and Scripting
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)
Discussion started by: rawat_me01
2 Replies
7. Shell Programming and Scripting
Hi,
I have one requirement, create separate files (".csv") from one excel file(xlsx) with multiple sheets. These ".csv" files are my source files. So anybody please suggest me the process.
Thanks in Advance.
Regards,
Harris (3 Replies)
Discussion started by: harris
3 Replies
8. Shell Programming and Scripting
I have requirement to write two CSV files to one single excel with multiple sheets.
Data present in the two files should sit in excel as different sheets.
How can we achieve this using shell script?
1.csv 2. csv
1,2,3,4 5,6,7,8
XXXXX YYYYY
Res.excel
1.csv data... (1 Reply)
Discussion started by: duplicate
1 Replies
9. Shell Programming and Scripting
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies
10. Programming
Perl script to merge cells
---------- Post updated at 12:59 AM ---------- Previous update was at 12:54 AM ----------
I am using below code to read files from a dir and print to excel.
open(my $in, '<', $file) or die "Could not open file: $!";
my $rowCount = 0;
my $colCount = 0;... (11 Replies)
Discussion started by: Jack_Bruce
11 Replies
LEARN ABOUT FREEBSD
dovecot
DOVECOT(1) Dovecot DOVECOT(1)
NAME
dovecot - a secure and highly configurable IMAP and POP3 server
SYNOPSIS
dovecot [-Fp] [-c config-file]
dovecot -a [-c config-file]
dovecot -n [-c config-file]
dovecot --build-options
dovecot --help
dovecot --version
dovecot reload
dovecot stop
DESCRIPTION
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excel-
lent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very lit-
tle memory.
OPTIONS
-a Dump all configuration settings to stdout and exit successfully. The same as doveconf -a.
-c config-file
Start dovecot with an alternative configuration.
-F Run dovecot in foreground, do not daemonize.
-n Dump non-default settings to stdout and exit successfully. The same as doveconf -n.
-p Prompt for the ssl key password for the configured ssl_key on startup.
--build-options
Show Dovecot's build options and exit successfully.
--help Print a usage message to stdout and exit successfully.
--version
Show Dovecot's version and exit successfully.
COMMANDS
reload Force dovecot to reload its configuration.
stop Shutdown dovecot and all its child processes.
When shutdown_clients is set to no, existing sessions will continue to use the old settings, after a dovecot reload. Also all sessions
will keep alive after a dovecot stop.
By default all active sessions will be shut down.
SIGNALS
Dovecot handles the following signals as described:
HUP Force dovecot to reload its configuration.
INT Shutdown dovecot and all its child processes.
TERM Shutdown dovecot and all its child processes.
USR1 Force dovecot to reopen all configured log files (log_path, info_log_path and debug_log_path).
The signals ALARM and PIPE are ignored.
FILES
/etc/dovecot/dovecot.conf
Dovecot's main configuration file.
/etc/dovecot/dovecot-ldap.conf.ext
Dovecot's LDAP authdb/userdb module configuration file.
/etc/dovecot/dovecot-sql.conf.ext
Dovecot's SQL authdb/userdb module configuration file.
/etc/dovecot/dovecot-dict-sql.conf.ext
Dovecot's dict configuration with SQL-backend.
/etc/dovecot/conf.d/auth-*-conf.ext
Configuration files of different authentication modules.
/etc/dovecot/conf.d/*.conf
Configuration files of different services and settings.
REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail-
able at: http://dovecot.org/bugreport.html
AUTHOR
Dovecot <http://dovecot.org> and its manual pages were written by the Dovecot authors <http://dovecot.org/doc/AUTHORS>, mainly Timo Sir-
ainen <tss at iki.fi>, and are licensed under the terms of the MIT and LGPLv2.1 licenses, see <http://dovecot.org/doc/COPYING> for details.
SEE ALSO
doveadm(1), doveconf(1), dovecot-lda(1), dsync(1)
Dovecot v2.1 2010-07-02 DOVECOT(1)