The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
how to add CRLF support for CSV file generated in unix
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
how to add CRLF support for CSV file generated in unix
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-07-2008
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 3,460
The simplest way is to add a line AFTER the output file has been closed.:
Code:
system("ux2dos withcrlf.csv > withcrlf.csv");
jim mcnamara
View Public Profile
Find all posts by jim mcnamara